Cleaned up debugger message handling
This commit is contained in:
parent
6248972684
commit
2ff339f190
31 changed files with 640 additions and 735 deletions
|
|
@ -389,9 +389,9 @@ web.promptUser = function(sPrompt, sDefault)
|
|||
*
|
||||
* true if localStorage support exists, is enabled, and works; "falsey" otherwise
|
||||
*
|
||||
* @type {boolean|undefined}
|
||||
* @type {boolean|null}
|
||||
*/
|
||||
web.fLocalStorage;
|
||||
web.fLocalStorage = null;
|
||||
|
||||
/**
|
||||
* hasLocalStorage
|
||||
|
|
@ -401,7 +401,7 @@ web.fLocalStorage;
|
|||
* @return {boolean}
|
||||
*/
|
||||
web.hasLocalStorage = function() {
|
||||
if (web.fLocalStorage === undefined) {
|
||||
if (web.fLocalStorage == null) {
|
||||
var f;
|
||||
var sTest = 'PCjs.localStorage';
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in a new issue