mirror of
https://github.com/scratchfoundation/scratchx.git
synced 2025-03-14 07:19:48 -04:00
Remove Flash overlay when exiting modals
This commit is contained in:
parent
9e1d73f3ab
commit
b72824f960
1 changed files with 2 additions and 0 deletions
|
@ -249,6 +249,8 @@ $(document).keyup(function(e) {
|
|||
if (e.keyCode == 27) $(document).trigger("modal:exit");
|
||||
});
|
||||
|
||||
$(document).on("modal:exit", function(e){Scratch.FlashApp.ASobj.ASsetModalOverlay(false);});
|
||||
|
||||
$(document).on('click', "[data-action='modal']", function(e){
|
||||
/*
|
||||
* Usage:
|
||||
|
|
Loading…
Reference in a new issue