Skip to content
Snippets Groups Projects
Commit f70d4fe6 authored by mcmlxxix's avatar mcmlxxix
Browse files

fix typo in clear method

parent d49c8b24
No related branches found
No related tags found
No related merge requests found
......@@ -52,8 +52,8 @@ function JSONChat(usernum,jsonclient,host,port) {
var chan = this.channels[target.toUpperCase()];
this.client.write("chat","channels." + chan.name + ".history",[],2);
chan.messages = [];
if(this.view) {
var tab = this.view.getTab(target)
if(this.chatView) {
var tab = this.chatView.getTab(target)
if(tab)
tab.frame.clear();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment