remove unnecessary stop propogations

This commit is contained in:
Kyle Zsembery 2020-09-03 16:39:26 +10:00
parent 1c9bbe0066
commit ec734477ab
2 changed files with 1 additions and 11 deletions

View File

@ -62,10 +62,7 @@ export default {
};
},
methods: {
copyAddress(event) {
if (event) {
event.stopPropagation();
}
copyAddress() {
if (this.$refs.copy) {
this.$refs.copy.$el.blur();
}

View File

@ -319,13 +319,6 @@ export default {
return date.formatDate(timestamp, "YYYY-MM-DD hh:mm a");
},
copyAddress(address) {
// event.stopPropagation();
// for (let i = 0; i < event.path.length; i++) {
// if (event.path[i].tagName == "BUTTON") {
// event.path[i].blur();
// break;
// }
// }
clipboard.writeText(address);
this.$q.notify({
type: "positive",