Skip to content

Commit 5e0a0e5

Browse files
Prevent Inndy#75 bug from happen
1 parent 388ca7e commit 5e0a0e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vue-clipboard.js

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ var VueClipboard = {
6464
}
6565
},
6666
unbind: function (el, binding) {
67+
if(!el._vClipboard) return
6768
if (binding.arg === 'success') {
6869
delete el._vClipboard_success
6970
} else if (binding.arg === 'error') {

0 commit comments

Comments
 (0)