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 committed Jan 3, 2020
1 parent 0019c11 commit d8be5ec
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,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 d8be5ec

Please sign in to comment.