Plugin Directory

Changeset 1395643


Ignore:
Timestamp:
04/14/2016 02:53:19 PM (10 years ago)
Author:
k00ni
Message:

checked, if plugin works with wordpress 4.5 > fixed bug

The anchor selector for jquery stopped working in 4.5. Turns out, that
the way we did it, was faulty and with the recent jquery update of
WordPress 4.5 the plugin was failing to scroll. After changing the
selector code, the plugin is suitable for 4.5 too.

FYI: https://github.com/jquery/jquery/issues/2824

Location:
fixed-menu-anchor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fixed-menu-anchor/trunk/js/fixed-menu-anchor.js

    r1377742 r1395643  
    55    jQuery(document).ready(function(){
    66        // dive into click events for anchors
    7         jQuery('a[href*=#]').click(function(e){
     7        jQuery('a[href*="#"]').click(function(e){
    88
    99            // stop execution in case, the user wants to ignore elements with a certain
  • fixed-menu-anchor/trunk/readme.txt

    r1377748 r1395643  
    33Tags: anchor, fixed menu, fixed header, sticky header
    44Requires at least: 4.3
    5 Tested up to: 4.4.2
     5Tested up to: 4.5
    66Stable tag: trunk
    77License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.