Skip to content
Snippets Groups Projects
Commit 35f09250 authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

Fix ES6-ism in addon

parent 6928fec6
No related branches found
No related tags found
No related merge requests found
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
} }
function isAtTop(cm, dom) { function isAtTop(cm, dom) {
for (let sibling = dom.nextSibling; sibling; sibling = sibling.nextSibling) for (var sibling = dom.nextSibling; sibling; sibling = sibling.nextSibling)
if (sibling == cm.getWrapperElement()) return true if (sibling == cm.getWrapperElement()) return true
return false return false
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment