Skip to content

Commit

Permalink
remove window
Browse files Browse the repository at this point in the history
  • Loading branch information
hzoo committed Dec 17, 2015
1 parent b6b95e1 commit d91e29c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/selection/selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
/** @scope wysihtml5.Selection.prototype */ {
constructor: function(editor, contain, unselectableClass) {
// Make sure that our external range library is initialized
window.rangy.init();
rangy.init();

this.editor = editor;
this.composer = editor.composer;
Expand Down

0 comments on commit d91e29c

Please sign in to comment.