Update MoveablePopups.plugin.js

This commit is contained in:
Mirco Wittrien 2020-01-11 16:39:02 +01:00 committed by GitHub
parent f2ee3ab061
commit 5f35f16afa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
class MoveablePopups {
getName () {return "MoveablePopups";}
getVersion () {return "1.1.4";}
getVersion () {return "1.1.5";}
getAuthor () {return "DevilBro";}
@ -25,7 +25,7 @@ class MoveablePopups {
libraryScript.setAttribute("date", performance.now());
libraryScript.addEventListener("load", () => {this.initialize();});
document.head.appendChild(libraryScript);
this.libLoadTimeout = BDFDB.TimeUtils.timeout(() => {
this.libLoadTimeout = setTimeout(() => {
libraryScript.remove();
require("request")("https://mwittrien.github.io/BetterDiscordAddons/Plugins/BDFDB.min.js", (error, response, body) => {
if (body) {
@ -137,4 +137,4 @@ class MoveablePopups {
div.addEventListener("click", div.clickMovablePopups);
div.addEventListener("mousedown", div.mousedownMovablePopups);
}
}
}