Hide spoilers only when clicked
This commit is contained in:
parent
02db4d1822
commit
ca64ece346
|
@ -276,12 +276,11 @@ EmoteModule.prototype.injectEmote = function(node) {
|
|||
return;
|
||||
}
|
||||
|
||||
spoilered.push(reactId);
|
||||
|
||||
markup.addClass("spoiler");
|
||||
|
||||
markup.on("click", function() {
|
||||
$(this).removeClass("spoiler");
|
||||
spoilered.push($(this).attr("data-reactid"));
|
||||
});
|
||||
|
||||
return;
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue