• Resolved claudchan

    (@claudchan)


    Hi,
    Some theme have scripts library that set to bottom has highest value than yours. This will encounter scripts errors due to library not loaded first.

Viewing 1 replies (of 1 total)
  • Plugin Author WraithKenny

    (@wraithkenny)

    I’d like to eventually add a way to optionally user-define the priority, since I can’t simply change the number from 11 (who knows what users are depending on it at this point).

    In the mean time, setting your code to run on event instead of immediately, might work around the problem. With JQuery for example, wrapping your code (or init function call) in the ready handler jQuery(function($){ /* init(); */ }); should work since by default, jQuery is available at 10, and the ready will guarantee the library is loaded (as long as it’s not ajax loaded).

Viewing 1 replies (of 1 total)
  • The topic ‘Bottom scripts should set highest value instead of 11’ is closed to new replies.