hide custom select arrow only in firefox < 35

with the help of some javascript code martin will write :)
This commit is contained in:
Felix Niklas 2015-01-23 14:36:36 +01:00
parent fbba548e0b
commit 30042e451d

View file

@ -733,16 +733,17 @@ textarea,
Firefox only hack Firefox only hack
----------------- -----------------
Firefox doesn't allow us to hide the dropdown arrow Firefox below version 35 doesn't allow us to
but we want to replace it with our own icon. hide the dropdown arrow but we want to replace
So we have to hide our own icon in Firefox. it with our own icon. So we have to hide our own
icon in Firefox versions under 35.
The class is set via Javascript
*/ */
@-moz-document url-prefix() { html.ff-lt-35 .form-control + .select-arrow {
.form-control + .select-arrow { display: none;
display: none;
}
} }
select::-ms-expand { select::-ms-expand {