Fix issue with additional GET parameters. Closes #92.

This commit is contained in:
Oleg Roschupkin 2012-12-10 10:20:47 +09:00
parent 2770d42b8b
commit 50745791af
1 changed files with 1 additions and 1 deletions

View File

@ -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');
};
/**