Closed mindplay-dk closed 8 years ago
There are calls to Range.setStartAfter
passing an extra second argument as well.
I'll check with @OliverJAsh in case of any undocumentated behaviour but it looks like the additional parameters could be removed
:+1:
Search the codebase for
.setEndAfter()
, and you'll seeRange.setEndAfter
being called in a few places with what appears to be an extra0
argument after the node?According to Mozilla's DOM reference, that method takes one argument:
https://developer.mozilla.org/en-US/docs/Web/API/Range/setEndAfter