Skip to content

Commit

Permalink
fix t4t5#127
Browse files Browse the repository at this point in the history
  • Loading branch information
jayquest committed Mar 7, 2016
1 parent 3b9d8eb commit 33a3634
Show file tree
Hide file tree
Showing 3 changed files with 143 additions and 168 deletions.
4 changes: 4 additions & 0 deletions dev/sweetalert.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ var lastFocusedButton;
var sweetAlert, swal;

export default sweetAlert = swal = function() {

if(previousWindowKeyDown !== undefined && window.onkeydown !== previousWindowKeyDown)
window.onkeydown = previousWindowKeyDown;

var customizations = arguments[0];

addClass(document.body, 'stop-scrolling');
Expand Down
Loading

0 comments on commit 33a3634

Please sign in to comment.