ios-orientationchange-fix in footer?
-
Topic
-
I have been overriding default ways of loading stuff but now changed back to more normal. So I noticed ios fix is loaded like this from general.php
wp_enqueue_script( 'ios-orientationchange-fix', TB_FRAMEWORK_URI . '/frontend/assets/js/ios-orientationchange-fix.js', true );
is supposed to load in footer. But it does not, goes at top instead. Also on demo site http://www.themeblvd.com/demo/jumpstart/
Adding a couple of ” so no parameter fields are empty seem to fix
wp_enqueue_script( 'ios-orientationchange-fix', TB_FRAMEWORK_URI . '/frontend/assets/js/ios-orientationchange-fix.js', '', '', true );
http://codex.wordpress.org/Function_Reference/wp_enqueue_script
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.