mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Update web/viewer.js
The variable isLocalStorageEnabled is now unused in Firefox and B2G.
This commit is contained in:
parent
d23ae9c425
commit
f1a39471e3
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue