Skip to content

Commit

Permalink
Merge pull request #1162 from xwp/bugfix/update-deprecated-jquery
Browse files Browse the repository at this point in the history
".load()" calls replaced valid equivalent.
  • Loading branch information
kasparsd authored Aug 30, 2020
2 parents cbfc6da + 776294a commit ec3c7d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ jQuery(
}
);

$( window ).load(
$( window ).on(
'load',
function() {
$( '.toplevel_page_wp_stream input[type="search"]' ).off( 'mousedown' );
}
Expand Down

0 comments on commit ec3c7d7

Please sign in to comment.