Merge pull request #94 from jahson/master
Fix issue with additional GET parameters.
This commit is contained in:
commit
2ee8d18ffb
|
@ -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