Skip to content

Commit

Permalink
Prevent #75 bug from happen
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel4Digital authored and Inndy committed Sep 10, 2021
1 parent 8a542c5 commit 1208add
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 1208add

Please sign in to comment.