Skip to content

Commit

Permalink
Merge pull request #283 from hzoo/patch-1
Browse files Browse the repository at this point in the history
remove window
  • Loading branch information
Oliver Pulges committed Jan 6, 2016
2 parents 4b6aee4 + d91e29c commit 387a5fa
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 @@ -108,7 +108,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 387a5fa

Please sign in to comment.