mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +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');
|
$li.addClass('active');
|
||||||
$dt.addClass('active');
|
$dt.addClass('active');
|
||||||
$dd.addClass('active');
|
$dd.addClass('active');
|
||||||
$dd.find('p.description.fading-out')
|
|
||||||
.stop(true)
|
|
||||||
.removeClass('fading-out')
|
|
||||||
.fadeIn('fast');
|
|
||||||
|
|
||||||
$form.find('dd').not($dd)
|
$form.find('dd').not($dd)
|
||||||
.find('p.description')
|
.find('p.description')
|
||||||
.not('.fading-out')
|
.hide();
|
||||||
.addClass('fading-out')
|
|
||||||
.delay(500)
|
|
||||||
.fadeOut('slow', function () {
|
|
||||||
$(this).removeClass('fading-out').hide()
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
|
|
||||||
highlightFormErrors: function($container)
|
highlightFormErrors: function($container)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user