Skip to content

Commit

Permalink
[F] Fix ESC would escape notify
Browse files Browse the repository at this point in the history
  • Loading branch information
LS-KR committed Jun 5, 2024
1 parent 693e454 commit ff2b207
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/components/ProfileCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ export default class ProfileCard extends Vue {
allowOutsideClick() { return false },
timer: 300000,
timerProgressBar: true,
iconColor: '#d20f39'
iconColor: '#d20f39',
allowEscapeKey() { return false; },
allowEnterKey() { return false; }
}).then((result) => {
if (result.isConfirmed) {
this.target = this.sourceTarget;
Expand Down
4 changes: 3 additions & 1 deletion src/views/Profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ export default class Profile extends Vue
icon: 'error',
showConfirmButton: false,
allowOutsideClick() { return false },
customClass: 'view-limit-alert'
customClass: 'view-limit-alert',
allowEscapeKey() { return false; },
allowEnterKey() { return false; }
})
// Easter egg: Watch when the user removes the DOM element in devtools
Expand Down

0 comments on commit ff2b207

Please sign in to comment.