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

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

diff --git a/app/assets/javascripts/discourse/app/components/d-button.js b/app/assets/javascripts/discourse/app/components/d-button.js
index 5c76b4e..36987be 100644
--- a/app/assets/javascripts/discourse/app/components/d-button.js
+++ b/app/assets/javascripts/discourse/app/components/d-button.js
@@ -132,6 +132,8 @@ export default Component.extend({
       DiscourseURL.routeTo(this.href);
     }
 
+    event.stopPropagation();
+
     return false;
   },
 

GitHub sha: 6d41c37c16a0b6acf1fbfccfc4e0530001c76608

This commit appears in #13993 which was approved by eviltrout. It was merged by jjaffeux.