mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
No need to specify '#modal', it already applies on box which is
This commit is contained in:
parent
5c043919e1
commit
9b1659830b
1 changed files with 2 additions and 2 deletions
|
@ -326,10 +326,10 @@
|
|||
// Clear any remaining click event that could still be there (e.g.
|
||||
// clicking outside the modal window doesn't equal to clicking
|
||||
// cancel...
|
||||
$('#modal footer button').unbind( "click" );
|
||||
$('footer button', box).unbind( "click" );
|
||||
|
||||
// Handle buttons
|
||||
$('#modal footer button', box)
|
||||
$('footer button', box)
|
||||
.click(function(e){
|
||||
e.preventDefault();
|
||||
|
||||
|
|
Loading…
Reference in a new issue