mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
js: Hide description immediately on focus change
This keeps DOM changes to a minimum.
This commit is contained in:
parent
a520539d77
commit
9b982b7e01
@ -612,19 +612,10 @@
|
||||
$li.addClass('active');
|
||||
$dt.addClass('active');
|
||||
$dd.addClass('active');
|
||||
$dd.find('p.description.fading-out')
|
||||
.stop(true)
|
||||
.removeClass('fading-out')
|
||||
.fadeIn('fast');
|
||||
|
||||
$form.find('dd').not($dd)
|
||||
.find('p.description')
|
||||
.not('.fading-out')
|
||||
.addClass('fading-out')
|
||||
.delay(500)
|
||||
.fadeOut('slow', function () {
|
||||
$(this).removeClass('fading-out').hide()
|
||||
});
|
||||
.hide();
|
||||
},
|
||||
|
||||
highlightFormErrors: function($container)
|
||||
|
Loading…
x
Reference in New Issue
Block a user