This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

ios-orientationchange-fix in footer?

  • Creator
    Topic
  • #9698
    karlo
    Participant

    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)
  • Author
    Replies
  • #9706
    Jason Bobich
    Keymaster

    Hey Karlo,

    I’d say don’t worry about this. It’s actually been removed by default in the next update to the framework. This is a fix for rotating your device that was only needed before iOS 6 was released. Now that iOS 7 is almost here, I don’t think we need to worry about a slight zoom bug when people are rotating devices with iOS 5.

    #9719
    karlo
    Participant

    Good, at some point it will probably backfire and start mess things that already works. Is not a wanted script.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.