• Stefy Lanza (nextime / spora )'s avatar
    Fix modal closing issue when clicking inside dialog · 7bc3a49b
    Stefy Lanza (nextime / spora ) authored
    The modal was closing when clicking on input fields or trying to type
    because the click event handler was checking if e.target.classList.contains('modal')
    which could incorrectly trigger when clicking on certain elements.
    
    Fixed by using closest() to properly detect if the click happened inside
    a .modal-dialog element. The modal now only closes when clicking on the
    backdrop (outside the dialog), not when interacting with form elements.
    7bc3a49b
Name
Last commit
Last update
..
_timezone_options.html Loading commit data...
admin.html Loading commit data...
admin_logs.html Loading commit data...
admin_migrations.html Loading commit data...
admin_settings.html Loading commit data...
admin_users.html Loading commit data...
bet_detail.html Loading commit data...
client_report_detail.html Loading commit data...
clients.html Loading commit data...
dashboard.html Loading commit data...
fixture_detail.html Loading commit data...
index.html Loading commit data...
match_detail.html Loading commit data...
match_report_detail.html Loading commit data...
matches.html Loading commit data...
report_detail.html Loading commit data...
reports.html Loading commit data...
statistics.html Loading commit data...
sync_logs.html Loading commit data...
uploads.html Loading commit data...
user_tokens.html Loading commit data...