Initialize favoriteEmotes
This commit is contained in:
parent
325584372f
commit
ea9808f12d
|
@ -898,7 +898,7 @@ QuickEmoteMenu.prototype.init = function() {
|
||||||
$(document).on("mousedown", function(e) {
|
$(document).on("mousedown", function(e) {
|
||||||
if(e.target.id != "rmenu") $("#rmenu").remove();
|
if(e.target.id != "rmenu") $("#rmenu").remove();
|
||||||
});
|
});
|
||||||
|
this.favoriteEmotes = {};
|
||||||
var fe = localStorage["bdfavemotes"];
|
var fe = localStorage["bdfavemotes"];
|
||||||
if (fe != undefined) {
|
if (fe != undefined) {
|
||||||
this.favoriteEmotes = JSON.parse(atob(fe));
|
this.favoriteEmotes = JSON.parse(atob(fe));
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue