Skip to content

Commit 2222448

Browse files
lafrikslunny
authored andcommitted
Fix IE unsupported javascript construction (#2736)
1 parent 847272a commit 2222448

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/js/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1886,14 +1886,14 @@ function initFilterBranchTagDropdown(selector) {
18861886
}
18871887
return null;
18881888
},
1889-
getSelectedIndexInFiltered() {
1889+
getSelectedIndexInFiltered: function() {
18901890
for (var i = 0, j = this.filteredItems.length; i < j; ++i) {
18911891
if (this.filteredItems[i].selected)
18921892
return i;
18931893
}
18941894
return -1;
18951895
},
1896-
scrollToActive() {
1896+
scrollToActive: function() {
18971897
var el = this.$refs['listItem' + this.active];
18981898
if (!el || el.length === 0) {
18991899
return;

0 commit comments

Comments
 (0)