Remove debugs
This commit is contained in:
parent
e93b5fdc73
commit
09fa5b5a34
|
@ -884,7 +884,7 @@ QuickEmoteMenu.prototype.favorite = function(name, url) {
|
||||||
};
|
};
|
||||||
|
|
||||||
QuickEmoteMenu.prototype.updateFavorites = function() {
|
QuickEmoteMenu.prototype.updateFavorites = function() {
|
||||||
console.log("UPDATE FAVORITES : " + favoriteEmotes);
|
|
||||||
var self = this;
|
var self = this;
|
||||||
var emoteMenuBody = $("#emote-menu-inner-fav");
|
var emoteMenuBody = $("#emote-menu-inner-fav");
|
||||||
emoteMenuBody.empty();
|
emoteMenuBody.empty();
|
||||||
|
@ -1438,7 +1438,6 @@ BdApi.getUserIdByName = function(name) {
|
||||||
for(var i = 0 ; i < users.length ; i++) {
|
for(var i = 0 ; i < users.length ; i++) {
|
||||||
var user = $(users[i]);
|
var user = $(users[i]);
|
||||||
if(user.text() == name) {
|
if(user.text() == name) {
|
||||||
console.log("FOUND: " + user);
|
|
||||||
var avatarUrl = user.closest(".member").find(".avatar-small").css("background-image");
|
var avatarUrl = user.closest(".member").find(".avatar-small").css("background-image");
|
||||||
return avatarUrl.match(/\d+/);
|
return avatarUrl.match(/\d+/);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue