projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a16bd4c
)
Add visible check for updating banlist
author
reality
<tinmachin3@gmail.com>
Thu, 10 Apr 2014 18:05:09 +0000
(18:05 +0000)
committer
reality
<tinmachin3@gmail.com>
Thu, 10 Apr 2014 18:05:09 +0000
(18:05 +0000)
client/src/views/channelinfo.js
patch
|
blob
|
blame
|
history
diff --git
a/client/src/views/channelinfo.js
b/client/src/views/channelinfo.js
index c20b0461e5e44d625603a4d97983dab345b9dd32..e9fa47603ca4b270d3bc2973954f8a6c745dabe5 100644
(file)
--- a/
client/src/views/channelinfo.js
+++ b/
client/src/views/channelinfo.js
@@
-146,6
+146,10
@@
_kiwi.view.ChannelInfo = Backbone.View.extend({
toggleBanList: function (event) {
event.preventDefault();
this.$el.find('.channel-banlist table').toggle();
+
+ if(!this.$el.find('.channel-banlist table').is(':visible'))
+ return;
+
var channel = this.model.get('channel'),
network = channel.get('network');