diff options
author | zefanja <zefanja@freenet.de> | 2014-01-17 19:17:17 +0700 |
---|---|---|
committer | zefanja <zefanja@freenet.de> | 2014-01-17 19:17:17 +0700 |
commit | 546476aa09a0bf83be894cb4d57f1cf81487f115 (patch) | |
tree | 8032f7f5f0bcd9bac97293b8c5681e77052e8dbb | |
parent | 60716d99e0b77ee2ef5a8c1ec56ff2b0ab7866e6 (diff) | |
download | biblez-ng-546476aa09a0bf83be894cb4d57f1cf81487f115.tar.gz |
* fixed small bug, when displaying cross-refs
-rw-r--r-- | source/App.css | 1 | ||||
-rw-r--r-- | source/main.js | 1 | ||||
-rw-r--r-- | source/popup.js | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/source/App.css b/source/App.css index 4e5d53a..b4216ea 100644 --- a/source/App.css +++ b/source/App.css @@ -228,6 +228,7 @@ h3, h1 { } .note-popup { + min-width: 200px; max-width: 500px; max-height: 300px; } diff --git a/source/main.js b/source/main.js index 25fcb9e..a8636b8 100644 --- a/source/main.js +++ b/source/main.js @@ -486,6 +486,7 @@ enyo.kind({ })); this.$.footnotePopup.showAtEvent(inEvent); } else if (attributes.type === "crossReference") { + this.$.footnotePopup.setText(""); this.$.footnotePopup.showAtEvent(inEvent); this.$.footnotePopup.handleSpinner(true); this.currentModule.renderText(attributes.osisRef, {oneVersePerLine: false, footnotes: false, headings: false}, diff --git a/source/popup.js b/source/popup.js index c06755a..716ccb7 100644 --- a/source/popup.js +++ b/source/popup.js @@ -222,7 +222,7 @@ enyo.kind({ }, components:[ {kind: "enyo.Scroller", touch: true, fit: true, classes: "note-popup", components: [ - {name: "spinner", kind: "onyx.Spinner", showing: false}, + {classes: "center", components: [{kind: "onyx.Spinner", showing: false, name: "spinner", classes: "center"}]}, {name: "noteText", content: "", allowHtml: true, onclick: "handleTap"} ]} ], |