From fec9e1703429a16fe2b8e2f2d23fc17c84e6b332 Mon Sep 17 00:00:00 2001 From: JAYBEkster Date: Mon, 30 May 2016 22:49:36 +0300 Subject: [PATCH] fix comment --- index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) mode change 100644 => 100755 index.js diff --git a/index.js b/index.js old mode 100644 new mode 100755 index 18827d9..4f364b7 --- a/index.js +++ b/index.js @@ -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;