aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzefanja <zefanja@freenet.de>2014-01-17 19:17:17 +0700
committerzefanja <zefanja@freenet.de>2014-01-17 19:17:17 +0700
commit546476aa09a0bf83be894cb4d57f1cf81487f115 (patch)
tree8032f7f5f0bcd9bac97293b8c5681e77052e8dbb
parent60716d99e0b77ee2ef5a8c1ec56ff2b0ab7866e6 (diff)
downloadbiblez-ng-546476aa09a0bf83be894cb4d57f1cf81487f115.tar.gz
* fixed small bug, when displaying cross-refs
-rw-r--r--source/App.css1
-rw-r--r--source/main.js1
-rw-r--r--source/popup.js2
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"}
]}
],