aboutsummaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorzefanja <zefanja@freenet.de>2014-01-06 10:28:10 +0700
committerzefanja <zefanja@freenet.de>2014-01-06 10:28:10 +0700
commit6780ce20e0d986ba0aca8ba267106f949727ad81 (patch)
tree2a1e0dbed449feeb71fdca3691e04205daf9e759 /source
parent1d49fa1ffce521e5f169f5e70375961e6c5dfcde (diff)
downloadbiblez-ng-6780ce20e0d986ba0aca8ba267106f949727ad81.tar.gz
* added support for androidFirefox (untested!)
Diffstat (limited to 'source')
-rw-r--r--source/App.js4
-rw-r--r--source/main.js4
-rw-r--r--source/notes.js1
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(" ");
}