Skip to content

Commit

Permalink
(fix) Unset isOverlayVisible and focus last active node after the hid…
Browse files Browse the repository at this point in the history
…e animation is finished
  • Loading branch information
feimosi committed Sep 26, 2017
1 parent f25da07 commit 2f0ccf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/baguetteBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,8 @@
if (options.afterHide) {
options.afterHide();
}
documentLastFocus && documentLastFocus.focus();
}, 500);
documentLastFocus && documentLastFocus.focus();
}

function loadImage(index, callback) {
Expand Down

0 comments on commit 2f0ccf9

Please sign in to comment.