Skip to content

Commit ec3c7d7

Browse files
author
Kaspars Dambis
authored
Merge pull request #1162 from xwp/bugfix/update-deprecated-jquery
".load()" calls replaced valid equivalent.
2 parents cbfc6da + 776294a commit ec3c7d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/js/admin.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ jQuery(
141141
}
142142
);
143143

144-
$( window ).load(
144+
$( window ).on(
145+
'load',
145146
function() {
146147
$( '.toplevel_page_wp_stream input[type="search"]' ).off( 'mousedown' );
147148
}

0 commit comments

Comments
 (0)