mirror of
https://github.com/bumi/lntip
synced 2025-06-17 10:15:35 +00:00
Load css earlier to make sure it is loaded
This commit is contained in:
parent
f65b839b6c
commit
625b13d8fc
@ -6,6 +6,7 @@ LnTip = function (options) {
|
|||||||
this.host = options.host || host;
|
this.host = options.host || host;
|
||||||
this.amount = options.amount;
|
this.amount = options.amount;
|
||||||
this.memo = options.memo || '';
|
this.memo = options.memo || '';
|
||||||
|
this.loadStylesheet();
|
||||||
this.getInvoice();
|
this.getInvoice();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -31,7 +32,6 @@ LnTip.prototype.closePopup = function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
LnTip.prototype.openPopup = function (content) {
|
LnTip.prototype.openPopup = function (content) {
|
||||||
this.loadStylesheet();
|
|
||||||
this.closePopup();
|
this.closePopup();
|
||||||
this.popup = new jPopup({
|
this.popup = new jPopup({
|
||||||
content: content,
|
content: content,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user