Initialize favoriteEmotes

This commit is contained in:
Jiiks 2016-04-11 12:57:04 +03:00
parent 325584372f
commit ea9808f12d
2 changed files with 3 additions and 81 deletions

View File

@ -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));

82
js/main.min.js vendored

File diff suppressed because one or more lines are too long