Merge pull request #94 from jahson/master

Fix issue with additional GET parameters.
This commit is contained in:
Vadim Makeev 2012-12-10 01:22:11 -08:00
commit 2ee8d18ffb
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');
};
/**