mirror of
https://github.com/zenorocha/clipboard.js.git
synced 2023-08-10 21:12:48 +03:00
changed "fakeElem" element type.
This commit is contained in:
parent
1b062f72f5
commit
c041e2a8f0
2
dist/clipboard.js
vendored
2
dist/clipboard.js
vendored
@ -278,7 +278,7 @@ var ClipboardAction = (function () {
|
||||
return _this.removeFake();
|
||||
});
|
||||
|
||||
this.fakeElem = document.createElement('input');
|
||||
this.fakeElem = document.createElement('textarea');
|
||||
this.fakeElem.style.position = 'absolute';
|
||||
this.fakeElem.style.left = '-9999px';
|
||||
this.fakeElem.setAttribute('readonly', '');
|
||||
|
Loading…
x
Reference in New Issue
Block a user