Skip to content

Commit

Permalink
Merge pull request #4042 from brave/push_messaging_relaunch_fix
Browse files Browse the repository at this point in the history
Fix 6633: Prevent click event from bubbling up to the toggle
  • Loading branch information
bsclifton authored Nov 21, 2019
2 parents 99fe6b1 + 293ba62 commit fccb096
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ Polymer({
return enabled != this.browserProxy_.wasPushMessagingEnabledAtStartup();
},

restartBrowser_: function() {
restartBrowser_: function(e) {
e.stopPropagation();
window.open("chrome://restart", "_self");
},

Expand Down

0 comments on commit fccb096

Please sign in to comment.