Update clipboard.js to v2.0.6

This commit is contained in:
vitormalencar 2021-01-19 10:10:51 +01:00 committed by Zeno Rocha
parent 9b497dd033
commit ddcb73419c
2 changed files with 5 additions and 5 deletions

6
dist/clipboard.js vendored
View File

@ -1,5 +1,5 @@
/*!
* clipboard.js v2.0.5
* clipboard.js v2.0.6
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
@ -936,10 +936,10 @@ var clipboard_Clipboard = function (_Emitter) {
var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['copy', 'cut'];
var actions = typeof action === 'string' ? [action] : action;
var support = !document.queryCommandSupported;
var support = !!document.queryCommandSupported;
actions.forEach(function (action) {
support = support && !document.queryCommandSupported(action);
support = support && !!document.queryCommandSupported(action);
});
return support;

File diff suppressed because one or more lines are too long