Skip to content

Commit

Permalink
Blur all buttons in confirm popup (#1403)
Browse files Browse the repository at this point in the history
  • Loading branch information
taylortom authored Nov 8, 2016
1 parent bbee5b9 commit b26533b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/core/notify/plugins/alert/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ define(function(require) {

openPopup(_.extend(defaults, data));

$('.sweet-alert > .sa-button-container button').blur();

// forces the user to wait before the confirm button can be clicked
if(data.destructive === true) {
var setWaitText = function(n) {
Expand Down

0 comments on commit b26533b

Please sign in to comment.