projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e537d68
)
IE8 support - indexOf
author
Darren
<darren@darrenwhitlen.com>
Sat, 5 Apr 2014 18:43:18 +0000
(19:43 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Sat, 5 Apr 2014 18:43:18 +0000
(19:43 +0100)
client/src/views/tabs.js
patch
|
blob
|
blame
|
history
diff --git
a/client/src/views/tabs.js
b/client/src/views/tabs.js
index 527592e9139ba16f2ddcd492d4dcd6783e8a3d06..1508e10b3dfa654afbc1d3e3494b21589013f9a6 100644
(file)
--- a/
client/src/views/tabs.js
+++ b/
client/src/views/tabs.js
@@
-110,7
+110,7
@@
_kiwi.view.Tabs = Backbone.View.extend({
},
panelActive: function (panel, previously_active_panel) {
- var panel_index =
this.panel_access.indexOf(
panel.cid);
+ var panel_index =
_.indexOf(this.panel_access,
panel.cid);
// Remove any existing tabs or part images
_kiwi.app.view.$el.find('.panellist .part').remove();