Skip to content

Commit

Permalink
Merge pull request #4298 from brave/bsc-fix-restart-button
Browse files Browse the repository at this point in the history
Fix 6633: Prevent click event from bubbling up to the toggle (uplift to 1.2.x)
  • Loading branch information
kjozwiak committed Jan 3, 2020
2 parents 0019c11 + d8be5ec commit c487796
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 c487796

Please sign in to comment.