Release v1.5.11

This commit is contained in:
Zeno Rocha 2016-06-08 21:46:20 -07:00
parent 294e9fcb5d
commit a4ab305297
No known key found for this signature in database
GPG Key ID: 7BEB4BBA4108C63F
5 changed files with 6 additions and 6 deletions

View File

@ -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",

4
dist/clipboard.js vendored
View File

@ -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
@ -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';

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,7 @@
Package.describe({
name: "zenorocha:clipboard",
summary: "Modern copy to clipboard. No Flash. Just 2kb.",
version: "1.5.10",
version: "1.5.11",
git: "https://github.com/zenorocha/clipboard.js"
});

View File

@ -1,6 +1,6 @@
{
"name": "clipboard",
"version": "1.5.10",
"version": "1.5.11",
"description": "Modern copy to clipboard. No Flash. Just 2kb",
"repository": "zenorocha/clipboard.js",
"license": "MIT",