diff options
author | zefanja <zefanja@freenet.de> | 2014-01-06 10:28:10 +0700 |
---|---|---|
committer | zefanja <zefanja@freenet.de> | 2014-01-06 10:28:10 +0700 |
commit | 6780ce20e0d986ba0aca8ba267106f949727ad81 (patch) | |
tree | 2a1e0dbed449feeb71fdca3691e04205daf9e759 /source | |
parent | 1d49fa1ffce521e5f169f5e70375961e6c5dfcde (diff) | |
download | biblez-ng-6780ce20e0d986ba0aca8ba267106f949727ad81.tar.gz |
* added support for androidFirefox (untested!)
Diffstat (limited to 'source')
-rw-r--r-- | source/App.js | 4 | ||||
-rw-r--r-- | source/main.js | 4 | ||||
-rw-r--r-- | source/notes.js | 1 |
3 files changed, 4 insertions, 5 deletions
diff --git a/source/App.js b/source/App.js index 28732f2..b0236a5 100644 --- a/source/App.js +++ b/source/App.js @@ -36,7 +36,7 @@ enyo.kind({ }, handlePanels: function (inSender, inEvent) { - if(inEvent.toIndex === 1 && !enyo.platform.firefox) { + if(inEvent.toIndex === 1 && enyo.platform.firefoxOS) { this.$.moduleManager.start(); } return true; @@ -54,7 +54,7 @@ enyo.kind({ }, openModuleManager: function (inSender, inEvent) { - if(enyo.platform.firefox) + if(!enyo.platform.firefoxOS) this.$.panel.setIndex(3); else { this.$.panel.setIndex(1); diff --git a/source/main.js b/source/main.js index 663019b..0d74ecf 100644 --- a/source/main.js +++ b/source/main.js @@ -201,7 +201,7 @@ enyo.kind({ this.$.moduleMenu.render(); this.doModuleChanged({module: this.currentModule}); - if(enyo.platform.firefox) + if(enyo.platform.firefox || enyo.platform.androidFirefox) this.$.bcSelector.setModule(this.currentModule); //Load the verses @@ -380,7 +380,7 @@ enyo.kind({ }, handleBcSelector: function (inSender, inEvent) { - if(enyo.platform.firefox) { + if(enyo.platform.firefox || enyo.platform.androidFirefox) { this.$.bcPopup.showAtEvent(inEvent); //this.$.bcSelector.setPanel(0); } else diff --git a/source/notes.js b/source/notes.js index c0a261e..5a39c23 100644 --- a/source/notes.js +++ b/source/notes.js @@ -75,7 +75,6 @@ enyo.kind({ handleBack: function() { if(this.$.noteInput.getValue() !== "") { - console.log(this.$.noteInput.getValue()); this.updateNote(); this.$.noteInput.setValue(" "); } |