Fixes goonchat on ie8 (#2259)
This commit is contained in:
committed by
kevinz000
parent
402c4f70ca
commit
6ac8123117
@@ -133,7 +133,8 @@ function highlightTerms(el) {
|
||||
newWord = words[w].replace("<", "<").replace(new RegExp(opts.highlightTerms[i], 'gi'), addHighlightMarkup);
|
||||
break;
|
||||
}
|
||||
console.log(newWord)
|
||||
if (window.console)
|
||||
console.log(newWord)
|
||||
}
|
||||
newText += newWord || words[w].replace("<", "<");
|
||||
newText += w >= words.length ? '' : ' ';
|
||||
@@ -874,4 +875,4 @@ $(function() {
|
||||
}
|
||||
$('#userBar').show();
|
||||
opts.priorChatHeight = $(window).height();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user