Skip to content

Commit

Permalink
Release v1.5.11
Browse files Browse the repository at this point in the history
  • Loading branch information
zenorocha committed Jun 9, 2016
1 parent 294e9fc commit a4ab305
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "clipboard",
"version": "1.5.10",
"version": "1.5.11",
"description": "Modern copy to clipboard. No Flash. Just 2kb",
"license": "MIT",
"main": "dist/clipboard.js",
Expand Down
4 changes: 2 additions & 2 deletions dist/clipboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ module.exports = E;

this.fakeHandler = document.body.addEventListener('click', function () {
return _this.removeFake();
});
}) || true;

this.fakeElem = document.createElement('textarea');
// Prevent zooming on iOS
Expand All @@ -460,7 +460,7 @@ module.exports = E;
this.fakeElem.style.padding = '0';
this.fakeElem.style.margin = '0';
// Move element out of screen horizontally
this.fakeElem.style.position = 'fixed';
this.fakeElem.style.position = 'absolute';
this.fakeElem.style[isRTL ? 'right' : 'left'] = '-9999px';
// Move element to the same position vertically
this.fakeElem.style.top = (window.pageYOffset || document.documentElement.scrollTop) + 'px';
Expand Down
Loading

0 comments on commit a4ab305

Please sign in to comment.