From: Darren Date: Sat, 5 Apr 2014 18:43:18 +0000 (+0100) Subject: IE8 support - indexOf X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f9f08110724b2e2853e3b4792ed3a70533262839;p=KiwiIRC.git IE8 support - indexOf --- diff --git a/client/src/views/tabs.js b/client/src/views/tabs.js index 527592e..1508e10 100644 --- 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();