From f1a39471e3cb1647246f56e2bec0823d656c6b39 Mon Sep 17 00:00:00 2001 From: Marco Date: Sun, 10 Feb 2013 16:18:46 +0100 Subject: [PATCH] Update web/viewer.js The variable isLocalStorageEnabled is now unused in Firefox and B2G. --- web/viewer.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/viewer.js b/web/viewer.js index 3057dcb9e..0cb432e3a 100644 --- a/web/viewer.js +++ b/web/viewer.js @@ -153,6 +153,7 @@ var ProgressBar = (function ProgressBarClosure() { // If not, we use FUEL in FF // Use asyncStorage for B2G var Settings = (function SettingsClosure() { +//#if !(FIREFOX || MOZCENTRAL || B2G) var isLocalStorageEnabled = (function localStorageEnabledTest() { // Feature test as per http://diveintohtml5.info/storage.html // The additional localStorage call is to get around a FF quirk, see @@ -164,6 +165,7 @@ var Settings = (function SettingsClosure() { return false; } })(); +//#endif function Settings(fingerprint) { this.fingerprint = fingerprint;