Skip to content

Commit fddd2aa

Browse files
committed
2.0.6
1 parent e430d05 commit fddd2aa

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "clipboard",
3-
"version": "2.0.5",
3+
"version": "2.0.6",
44
"description": "Modern copy to clipboard. No Flash. Just 3kb",
55
"license": "MIT",
66
"main": "dist/clipboard.js",

dist/clipboard.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* clipboard.js v2.0.5
2+
* clipboard.js v2.0.6
33
* https://clipboardjs.com/
44
*
55
* Licensed MIT © Zeno Rocha
@@ -936,10 +936,10 @@ var clipboard_Clipboard = function (_Emitter) {
936936
var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['copy', 'cut'];
937937

938938
var actions = typeof action === 'string' ? [action] : action;
939-
var support = !document.queryCommandSupported;
939+
var support = !!document.queryCommandSupported;
940940

941941
actions.forEach(function (action) {
942-
support = support && !document.queryCommandSupported(action);
942+
support = support && !!document.queryCommandSupported(action);
943943
});
944944

945945
return support;

0 commit comments

Comments
 (0)