From 2b2f9eef6fd1cf951612740e16e422db2848c00a Mon Sep 17 00:00:00 2001 From: Beto Muniz Date: Wed, 4 May 2022 14:51:40 -0300 Subject: [PATCH] 2.0.11 --- bower.json | 2 +- dist/clipboard.js | 3 +-- dist/clipboard.min.js | 4 ++-- package.js | 2 +- package.json | 2 +- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/bower.json b/bower.json index 05748d7..c0b31e4 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "clipboard", - "version": "2.0.10", + "version": "2.0.11", "description": "Modern copy to clipboard. No Flash. Just 3kb", "license": "MIT", "main": "dist/clipboard.js", diff --git a/dist/clipboard.js b/dist/clipboard.js index 2fd2d92..aeb826f 100644 --- a/dist/clipboard.js +++ b/dist/clipboard.js @@ -1,5 +1,5 @@ /*! - * clipboard.js v2.0.10 + * clipboard.js v2.0.11 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha @@ -319,7 +319,6 @@ var Clipboard = /*#__PURE__*/function (_Emitter) { trigger.focus(); } - document.activeElement.blur(); window.getSelection().removeAllRanges(); } }); diff --git a/dist/clipboard.min.js b/dist/clipboard.min.js index a3aa4f4..1103f81 100644 --- a/dist/clipboard.min.js +++ b/dist/clipboard.min.js @@ -1,7 +1,7 @@ /*! - * clipboard.js v2.0.10 + * clipboard.js v2.0.11 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return n={686:function(t,e,n){"use strict";n.d(e,{default:function(){return b}});var e=n(279),i=n.n(e),e=n(370),u=n.n(e),e=n(817),r=n.n(e);function c(t){try{return document.execCommand(t)}catch(t){return}}var a=function(t){t=r()(t);return c("cut"),t};function o(t,e){var n,o,t=(n=t,o="rtl"===document.documentElement.getAttribute("dir"),(t=document.createElement("textarea")).style.fontSize="12pt",t.style.border="0",t.style.padding="0",t.style.margin="0",t.style.position="absolute",t.style[o?"right":"left"]="-9999px",o=window.pageYOffset||document.documentElement.scrollTop,t.style.top="".concat(o,"px"),t.setAttribute("readonly",""),t.value=n,t);return e.container.appendChild(t),e=r()(t),c("copy"),t.remove(),e}var f=function(t){var e=1