WordPress.org

Make WordPress Core

Ticket #16221: no-extra-hover-spaces.16221.diff

File no-extra-hover-spaces.16221.diff, 491 bytes (added by filosofo, 3 years ago)
  • wp-includes/js/admin-bar.dev.js

     
    66                        obj.attachEvent('on' + type, function() { return fn.call(obj, window.event);}); 
    77        }, 
    88 
    9         aB, hc = new RegExp('\\bhover\\b', 'g'), q = [], 
     9        aB, hc = new RegExp('(\\s+)?\\bhover\\b(\\s+)?', 'g'), q = [], 
    1010        rselected = new RegExp('\\bselected\\b', 'g'), 
    1111 
    1212        /**