From 776294a21b2f48bacc57e3af4ecce9af47c26176 Mon Sep 17 00:00:00 2001 From: Geoff Taylor Date: Thu, 27 Aug 2020 16:08:22 -0400 Subject: [PATCH] ".load()" calls replaced valid equivalent." --- ui/js/admin.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/js/admin.js b/ui/js/admin.js index 1e7ac4856..aa07f549c 100644 --- a/ui/js/admin.js +++ b/ui/js/admin.js @@ -141,7 +141,8 @@ jQuery( } ); - $( window ).load( + $( window ).on( + 'load', function() { $( '.toplevel_page_wp_stream input[type="search"]' ).off( 'mousedown' ); }