diff --git a/src/browser/StatusBarProxy.js b/src/browser/StatusBarProxy.js index 3e90c6c..3290d58 100644 --- a/src/browser/StatusBarProxy.js +++ b/src/browser/StatusBarProxy.js @@ -22,7 +22,9 @@ function notSupported(win,fail) { // console.log('StatusBar is not supported'); setTimeout(function(){ - win(); + if (win) { + win(); + } // note that while it is not explicitly supported, it does not fail // this is really just here to allow developers to test their code in the browser // and if we fail, then their app might as well. -jm