From 222244836fa8727918fb1f62c6295b5b51f6e258 Mon Sep 17 00:00:00 2001 From: Lauris BH Date: Thu, 19 Oct 2017 09:00:36 +0300 Subject: [PATCH] Fix IE unsupported javascript construction (#2736) --- public/js/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/index.js b/public/js/index.js index a143160da6..a8dbfd7b33 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -1886,14 +1886,14 @@ function initFilterBranchTagDropdown(selector) { } return null; }, - getSelectedIndexInFiltered() { + getSelectedIndexInFiltered: function() { for (var i = 0, j = this.filteredItems.length; i < j; ++i) { if (this.filteredItems[i].selected) return i; } return -1; }, - scrollToActive() { + scrollToActive: function() { var el = this.$refs['listItem' + this.active]; if (!el || el.length === 0) { return;