From 1d98cab1ef0b8559f3fa20225ab0fa1b3cee0d78 Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Wed, 19 Mar 2014 18:26:05 +0000 Subject: [PATCH] Ensure the media library spinner hides when displaying a cached result set. props kovshenin. see #24859. git-svn-id: https://develop.svn.wordpress.org/trunk@27621 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/js/media-views.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/js/media-views.js b/src/wp-includes/js/media-views.js index 34234466d3..1c09443907 100644 --- a/src/wp-includes/js/media-views.js +++ b/src/wp-includes/js/media-views.js @@ -5050,6 +5050,8 @@ } view.toolbar.get( 'spinner' ).hide(); }); + } else { + view.toolbar.get( 'spinner' ).hide(); } },