diff --git a/web/viewer.js b/web/viewer.js index a44acb688..d00d50505 100644 --- a/web/viewer.js +++ b/web/viewer.js @@ -29,7 +29,7 @@ var Cache = function cacheCache(size) { // First we see if localStorage is available, FF bug #495747 // If not, we use FUEL in FF and fallback to Cookies for other browsers. var Settings = (function settingsClosure() { - var isCookiesEnabled = (function() { + var isCookiesEnabled = (function cookiesEnabledTest() { document.cookie = 'they=work'; return document.cookie.length > 0; })();