Last active
October 22, 2016 17:22
-
-
Save Hube2/7a44343b27e537c85e9323d5124b11e2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($){ | |
if (typeof acf.add_action !== 'undefined') { | |
acf.add_filter('select2_args', function(args, element, settings) { | |
if (element.hasClass('glyphicons-select') || element.hasClass('glyphicon_selector')) { | |
args['dropdownCss']['font-family'] = 'Glyphicons Regular'; | |
} | |
return args; | |
}); | |
})(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment