Merge pull request #310 from sirDonovan/unlinkhide

Update |unlink|hide| message
This commit is contained in:
Slayer95
2015-01-16 01:32:02 -05:00

View File

@@ -998,7 +998,7 @@
$messages.find('a').contents().unwrap();
if (row[2]) {
$messages.hide();
this.$chat.append('<div class="chatmessage-' + user + '"><button name="revealMessages" value="' + user + '"><small>Some messages were hidden, click here to restore them.</small></button></div>');
if (this.$chat.find('.chatmessage-' + user).length) this.$chat.append('<div class="chatmessage-' + user + '"><button name="revealMessages" value="' + user + '"><small>Some messages were hidden, click here to restore them.</small></button></div>');
}
break;