Commit 2ee8d18f authored by Vadim Makeev's avatar Vadim Makeev

Merge pull request #94 from jahson/master

Fix issue with additional GET parameters.
parents 2770d42b 50745791
...@@ -223,7 +223,7 @@ window.shower = (function(window, document, undefined) { ...@@ -223,7 +223,7 @@ window.shower = (function(window, document, undefined) {
* @returns {boolean} * @returns {boolean}
*/ */
shower.isListMode = function() { 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');
}; };
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment