advanced search: bugfix

- adapt the js to IE needs (do not reduce the search bar when the user click on a select's option)

SVN:trunk[5669]
This commit is contained in:
Bruno Da Silva
2018-04-13 15:56:08 +00:00
parent ec2aadb7cf
commit 4c90a90131

View File

@@ -313,7 +313,7 @@ $(function()
oEvent.preventDefault();
// Prevent toggle on <select>
if(oEvent.target.nodeName.toLowerCase() !== 'select')
if(oEvent.target.nodeName.toLowerCase() !== 'select' && oEvent.target.nodeName.toLowerCase() !== 'option')
{
me.element.toggleClass('closed');
}