Fixes goonchat on ie8 (#2259)

This commit is contained in:
CitadelStationBot
2017-08-04 10:41:33 -05:00
committed by kevinz000
parent 402c4f70ca
commit 6ac8123117
@@ -133,7 +133,8 @@ function highlightTerms(el) {
newWord = words[w].replace("<", "&lt;").replace(new RegExp(opts.highlightTerms[i], 'gi'), addHighlightMarkup);
break;
}
console.log(newWord)
if (window.console)
console.log(newWord)
}
newText += newWord || words[w].replace("<", "&lt;");
newText += w >= words.length ? '' : ' ';
@@ -874,4 +875,4 @@ $(function() {
}
$('#userBar').show();
opts.priorChatHeight = $(window).height();
});
});