Commit 50745791 authored by Oleg Roschupkin's avatar Oleg Roschupkin

Fix issue with additional GET parameters. Closes #92.

parent 2770d42b
...@@ -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