Fix issue with additional GET parameters. Closes #92.
This commit is contained in:
parent
2770d42b8b
commit
50745791af
|
@ -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');
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue