fixes js lint warnings
This commit is contained in:
parent
8f962f02c4
commit
ece31cc72b
|
@ -56,13 +56,12 @@
|
|||
$dropdownContainer.removeClass('open');
|
||||
});
|
||||
|
||||
$dropdownContainer.on('click' , '.dropdown-content a', (e) => {
|
||||
$dropdown.prop('title', e.target.text.replace(/_+?/g,'-'));
|
||||
$dropdownContainer.on('click', '.dropdown-content a', (e) => {
|
||||
$dropdown.prop('title', e.target.text.replace(/_+?/g, '-'));
|
||||
if ($dropdown.hasClass('has-tooltip')) {
|
||||
$dropdown.tooltip('fixTitle');
|
||||
}
|
||||
|
||||
})
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue