aboutsummaryrefslogtreecommitdiffstats
path: root/source/main.js
diff options
context:
space:
mode:
authorzefanja <zefanja@freenet.de>2014-04-11 19:47:07 +0700
committerzefanja <zefanja@freenet.de>2014-04-11 19:47:07 +0700
commit0cb02746c2fd3119ebacf7810eeac2e6825cecba (patch)
tree20a748e47c34741051cd80a98be39d328d49899c /source/main.js
parent3fa41148fe9ac2ae203eb8034d20f2f61b5e040b (diff)
downloadbiblez-ng-0cb02746c2fd3119ebacf7810eeac2e6825cecba.tar.gz
* fixed #11
Diffstat (limited to 'source/main.js')
-rw-r--r--source/main.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/main.js b/source/main.js
index f800e0e..2f07df5 100644
--- a/source/main.js
+++ b/source/main.js
@@ -74,7 +74,7 @@ enyo.kind({
//{name: "btFont", kind: "onyx.IconButton", src: "assets/font.png", ontap: "handleFontMenu"}
]},
{name: "mainPanel", kind: "Panels", draggable: false, /*index: 2, */fit: true, ondragfinish: "handleChangeChapter", onTransitionStart: "handlePanelIndex", arrangerKind: "LeftRightArranger", margin: 0, classes: "background", components: [
- {name: "verseList", kind: "VerseList", touch: true, thumb: false, touchOverscroll: false, count: 0, onSetupItem: "setVerses", onScrollStop: "handleScrolling", components: [
+ {name: "verseList", kind: "VerseList", touch: false, thumb: false, touchOverscroll: false, count: 0, onSetupItem: "setVerses", onScroll: "", onScrollStop: "handleScrolling", classes: "enyo-selectable", components: [
{name: "text", allowHtml: true, style: "display: inline;", ontap: "handleVerseTap", onclick: "handleVerseTap"},
{name: "imgBm", tag: "img", style: "display: inline;", showing: false, src: "assets/bookmark.png"},
{name: "imgNote", tag: "img", type: "note", style: "display: inline; margin: 0 3px;", showing: false, src: "assets/note.png", ontap: "handleVerseTap"}
@@ -115,10 +115,12 @@ enyo.kind({
offset: 0,
rowSize: 0,
hasVerseNumber: 0,
+ timer: null,
create: function () {
this.inherited(arguments);
- //this.$.spinner.stop();
+ if(enyo.platform.firefox)
+ this.$.verseList.onScroll = "handleScrolling";
this.startUp();
//this.$.mainPanel.setIndexDirect(2);