diff options
| author | gdh1995 | 2015-08-28 21:08:57 +0800 |
|---|---|---|
| committer | gdh1995 | 2015-08-28 21:08:57 +0800 |
| commit | 034e2515a0a23cc02046bc761adf950232715885 (patch) | |
| tree | e761a9672e87c669f9cacfa63a381e93a2399cfc | |
| parent | 6125394ba844f4082803366ab9956dec13b547e2 (diff) | |
| download | vimium-034e2515a0a23cc02046bc761adf950232715885.tar.bz2 | |
fix a bug that Clipboard fails without DomUtils
| -rw-r--r-- | lib/clipboard.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/clipboard.coffee b/lib/clipboard.coffee index 26cd2fad..47fa3cb8 100644 --- a/lib/clipboard.coffee +++ b/lib/clipboard.coffee @@ -1,6 +1,6 @@ Clipboard = _createTextArea: -> - textArea = DomUtils.createElement("textarea") + textArea = document.createElement "textarea" textArea.style.position = "absolute" textArea.style.left = "-100%" textArea |
