From 19b7f779ef9d6d78b773f9c4231292622d001b56 Mon Sep 17 00:00:00 2001 From: Imran Sobir Date: Thu, 9 Mar 2017 21:41:57 +0500 Subject: [PATCH] Fix ambiguity in history table ID. --- qutebrowser/javascript/history.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qutebrowser/javascript/history.js b/qutebrowser/javascript/history.js index 3ff9f09db..4bc231f9e 100644 --- a/qutebrowser/javascript/history.js +++ b/qutebrowser/javascript/history.js @@ -46,8 +46,8 @@ window.loadHistory = (function() { */ function getSessionNode(date) { // Find/create table - var tableId = "hist-".concat(date.getDate(), date.getMonth(), - date.getYear()); + var tableId = ["hist", date.getDate(), date.getMonth(), + date.getYear()].join("-"); var table = document.getElementById(tableId); if (table === null) { table = document.createElement("table");