Skip to content

Commit

Permalink
Merge pull request #75 from xdamman/develop
Browse files Browse the repository at this point in the history
Merge to master
  • Loading branch information
shri3k authored Dec 3, 2019
2 parents 873476c + 59309e2 commit 6d4bd8c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/selection-sharer.js
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,7 @@
// jQuery plugin
// Usage: $( "p" ).selectionSharer();
$.fn.selectionSharer = function() {
var args = arguments;
var sharer = new SelectionSharer.apply(null, args);
var sharer = new SelectionSharer();
sharer.setElements(this);
return this;
};
Expand Down

0 comments on commit 6d4bd8c

Please sign in to comment.