From f9f08110724b2e2853e3b4792ed3a70533262839 Mon Sep 17 00:00:00 2001 From: Darren Date: Sat, 5 Apr 2014 19:43:18 +0100 Subject: [PATCH] IE8 support - indexOf --- client/src/views/tabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.25.1