Skip to content

Commit

Permalink
init features.selectionSupportsMultipleRanges = true for Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
giabao committed Apr 21, 2019
1 parent 7a92af1 commit 7947ea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const features: Features = {
crashyTextNodes: false,
implementsWinGetSelection: true,
implementsDocSelection: false,
selectionSupportsMultipleRanges: false,
selectionSupportsMultipleRanges: window.navigator.userAgent.indexOf("Firefox") > -1,
implementsControlRange: false,
collapsedNonEditableSelectionsSupported: true,
};
Expand Down

0 comments on commit 7947ea1

Please sign in to comment.