From 50745791af4926dcc1d18263da0c9f051b29523c Mon Sep 17 00:00:00 2001 From: Oleg Roschupkin Date: Mon, 10 Dec 2012 10:20:47 +0900 Subject: [PATCH] Fix issue with additional GET parameters. Closes #92. --- shower.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shower.js b/shower.js index 2bd5e47..688ae45 100755 --- a/shower.js +++ b/shower.js @@ -223,7 +223,7 @@ window.shower = (function(window, document, undefined) { * @returns {boolean} */ shower.isListMode = function() { - return isHistoryApiSupported ? 'full' !== url.search.substr(1) : body.classList.contains('list'); + return isHistoryApiSupported ? ! /^full.*/.test(url.search.substr(1)) : body.classList.contains('list'); }; /**