projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f6f76f
)
Stop notices appearing twice in server panel
author
Darren
<darren@darrenwhitlen.com>
Tue, 4 Jun 2013 21:34:55 +0000
(22:34 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Tue, 4 Jun 2013 21:34:55 +0000
(22:34 +0100)
client/assets/src/models/network.js
patch
|
blob
|
blame
|
history
diff --git
a/client/assets/src/models/network.js
b/client/assets/src/models/network.js
index e4320f12422e4c03b446ac45a64d013b6707e3fc..d8ea7722f58cb59bef68114e8576a2353d123943 100644
(file)
--- a/
client/assets/src/models/network.js
+++ b/
client/assets/src/models/network.js
@@
-403,7
+403,7
@@
panel.addMsg('[' + (event.nick||'') + ']', event.msg);
// Show this notice to the active panel if it didn't have a set target
- if (!event.from_server && panel === this.panels.server)
+ if (!event.from_server && panel === this.panels.server
&& !this.panels.server.isActive()
)
_kiwi.app.panels().active.addMsg('[' + (event.nick||'') + ']', event.msg);
}