Ok, this is driving me a bit batty. I am using the jQuery .css() method to try to set the multiple flexbox display properties needed for a class. Problem is, it only ke
Store it in a variable:
var displayStyle = [ 'display: -webkit-box', 'display: -webkit-flex', 'display: -moz-box', 'display: -ms-flexbox', 'display: flex' ].join(';'); $(document).ready(function() { $(".department-name").attr('style', displayStyle); });
TEST