Skip to content

Commit 1208add

Browse files
Daniel4DigitalInndy
authored andcommitted
Prevent #75 bug from happen
1 parent 8a542c5 commit 1208add

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vue-clipboard.js

Lines changed: 1 addition & 0 deletions
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)