Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JAYBEkster committed May 30, 2016
1 parent 0349f78 commit fec9e17
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ function copy(text, options) {
// used to conserve newline, etc
mark.style.whiteSpace = 'pre';

// position fixed because MS Edge scroll to upcoming seleceting node
// apart from this part it scrolls to the end of page
// prevents scrolling to the end of the page
mark.style.position = 'fixed';
mark.style.height = 0;
mark.style.width = 0;
Expand Down

0 comments on commit fec9e17

Please sign in to comment.