Fix iOS Safari dropdown visibility
This commit is contained in:
parent
35b1e06dfc
commit
4effbe657e
@ -133,10 +133,16 @@ function updateMenu(availableOptions)
|
|||||||
if (!array.includes($(this).prop("value")))
|
if (!array.includes($(this).prop("value")))
|
||||||
{
|
{
|
||||||
if ($(this).prop("value") != "")
|
if ($(this).prop("value") != "")
|
||||||
|
{
|
||||||
$(this).hide();
|
$(this).hide();
|
||||||
|
$(this).attr('disabled', 'disabled'); // for iOS
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
$(this).show();
|
$(this).show();
|
||||||
|
$(this).removeAttr('disabled'); // for iOS
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user