~canonical-sysadmins/wordpress/4.5.3

« back to all changes in this revision

Viewing changes to wp-includes/js/jquery/suggest.js

  • Committer: Nick Moffitt
  • Date: 2016-04-14 10:44:19 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: nick.moffitt@canonical.com-20160414104419-w6lxcr3ru4enc2w5
Merge WP4.5 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
                resetPosition();
32
32
                $(window)
33
 
                        .load(resetPosition)            // just in case user is changing size of page while loading
34
 
                        .resize(resetPosition);
 
33
                        .on( 'load', resetPosition ) // just in case user is changing size of page while loading
 
34
                        .on( 'resize', resetPosition );
35
35
 
36
36
                $input.blur(function() {
37
37
                        setTimeout(function() { $results.hide() }, 200);