Fix ambiguity in history table ID.
This commit is contained in:
parent
3fbeecbec2
commit
19b7f779ef
@ -46,8 +46,8 @@ window.loadHistory = (function() {
|
|||||||
*/
|
*/
|
||||||
function getSessionNode(date) {
|
function getSessionNode(date) {
|
||||||
// Find/create table
|
// Find/create table
|
||||||
var tableId = "hist-".concat(date.getDate(), date.getMonth(),
|
var tableId = ["hist", date.getDate(), date.getMonth(),
|
||||||
date.getYear());
|
date.getYear()].join("-");
|
||||||
var table = document.getElementById(tableId);
|
var table = document.getElementById(tableId);
|
||||||
if (table === null) {
|
if (table === null) {
|
||||||
table = document.createElement("table");
|
table = document.createElement("table");
|
||||||
|
Loading…
Reference in New Issue
Block a user