remove unnecessary stop propogations
This commit is contained in:
parent
1c9bbe0066
commit
ec734477ab
|
@ -62,10 +62,7 @@ export default {
|
|||
};
|
||||
},
|
||||
methods: {
|
||||
copyAddress(event) {
|
||||
if (event) {
|
||||
event.stopPropagation();
|
||||
}
|
||||
copyAddress() {
|
||||
if (this.$refs.copy) {
|
||||
this.$refs.copy.$el.blur();
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue