Skip to content

Commit fe9e86c

Browse files
committed
Fix SCRIPT1003 error in IE11
1 parent 4438c6c commit fe9e86c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
}
1515
},
1616

17-
injectCodeFundContainer() {
17+
injectCodeFundContainer: function() {
1818
if (document.getElementById("codefund") === null) {
1919
let nav = document.getElementsByClassName('sidebar-nav');
2020
let codefundContainer = document.createElement('div');
2121
codefundContainer.id = 'codefund';
2222
nav[0].insertBefore(codefundContainer, nav[0].firstChild);
2323
}
24-
24+
2525
if (document.getElementsByClassName('cf-wrapper').length === 0) {
2626
window._codefund && window._codefund.serve();
2727
}

0 commit comments

Comments
 (0)