DEV: stop propagation of events on button click (#13993)

This commit is contained in:
Joffrey JAFFEUX 2021-08-10 15:52:59 +02:00 committed by GitHub
parent 644441852e
commit 6d41c37c16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -132,6 +132,8 @@ export default Component.extend({
DiscourseURL.routeTo(this.href); DiscourseURL.routeTo(this.href);
} }
event.stopPropagation();
return false; return false;
}, },