Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Commit

Permalink
Fir for nonchat text getting replaced by emotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiiks committed Nov 29, 2015
1 parent 674460f commit 00b9433
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ EmoteModule.prototype.injectEmote = function(node) {

var parent = node.parentElement;
if(parent.tagName != "SPAN") return;
if(!$(parent.parentElement).hasClass("markup")) return;

var parentInnerHTML = parent.innerHTML;
var words = parentInnerHTML.split(/\s+/g);
Expand Down
Loading

0 comments on commit 00b9433

Please sign in to comment.