Remove unnecessary logging of Sidebar loadGlobe

This commit is contained in:
shortcutme 2019-03-16 02:25:20 +01:00
parent 203e70afbc
commit 90c9078bf5
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
2 changed files with 4 additions and 2 deletions

View file

@ -564,7 +564,6 @@ class Sidebar extends Class
loadGlobe: =>
console.log "loadGlobe", @tag.find(".globe")[0], @tag.find(".globe").hasClass("loading")
if @tag.find(".globe").hasClass("loading")
setTimeout (=>
if typeof(DAT) == "undefined" # Globe script not loaded, do it first

View file

@ -57,6 +57,7 @@
}).call(this);
/* ---- plugins/Sidebar/media/Internals.coffee ---- */
@ -146,6 +147,7 @@
}).call(this);
/* ---- plugins/Sidebar/media/Menu.coffee ---- */
@ -229,6 +231,7 @@
}).call(this);
/* ---- plugins/Sidebar/media/RateLimit.coffee ---- */
@ -258,6 +261,7 @@
}).call(this);
/* ---- plugins/Sidebar/media/Scrollable.js ---- */
@ -1077,7 +1081,6 @@ window.initScrollable = function () {
};
Sidebar.prototype.loadGlobe = function() {
console.log("loadGlobe", this.tag.find(".globe")[0], this.tag.find(".globe").hasClass("loading"));
if (this.tag.find(".globe").hasClass("loading")) {
return setTimeout(((function(_this) {
return function() {