Skip to content

Commit

Permalink
Prevent Inndy#75 bug from happen
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel4Digital committed Sep 10, 2021
1 parent 388ca7e commit 5e0a0e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vue-clipboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ var VueClipboard = {
}
},
unbind: function (el, binding) {
if(!el._vClipboard) return
if (binding.arg === 'success') {
delete el._vClipboard_success
} else if (binding.arg === 'error') {
Expand Down

0 comments on commit 5e0a0e5

Please sign in to comment.