1
1
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:
bumi 2019-01-07 23:54:01 +01:00
parent f65b839b6c
commit 625b13d8fc

View File

@ -6,6 +6,7 @@ LnTip = function (options) {
this.host = options.host || host;
this.amount = options.amount;
this.memo = options.memo || '';
this.loadStylesheet();
this.getInvoice();
}
@ -31,7 +32,6 @@ LnTip.prototype.closePopup = function () {
}
LnTip.prototype.openPopup = function (content) {
this.loadStylesheet();
this.closePopup();
this.popup = new jPopup({
content: content,