• Stefy Lanza (nextime / spora )'s avatar
    Fix modal closing issue - check e.target directly · 091d1023
    Stefy Lanza (nextime / spora ) authored
    The previous fix using closest() was incorrect because closest('.modal')
    would always return the modal for any click inside it (including dialog).
    
    The correct approach is to check if e.target IS the modal element itself,
    which only happens when clicking directly on the backdrop overlay,
    not when clicking on elements inside the dialog.
    091d1023
Name
Last commit
Last update
..
api Loading commit data...
auth Loading commit data...
database Loading commit data...
main Loading commit data...
templates Loading commit data...
upload Loading commit data...
utils Loading commit data...
__init__.py Loading commit data...
models.py Loading commit data...