Running into an issue here. I'm trying to switch from display: none to display: flex, display: flex-box, and display: -ms-flexbox but for some reason it's causing errors in my code.. Here's what I've been working on:
$(elem).css({'display': 'flex', 'display': '-webkit-flex', 'display':'-ms-flexbox'});
While this solution works fine:
$(elem).css({'display': 'flex'})
I need the other two options for Safari and IE10. Is there a way to write this without causing issues? JQuery doesn't seem to like this syntax very much.