summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/_inc/jetpack-connection-banner.js')
-rw-r--r--plugins/jetpack/_inc/jetpack-connection-banner.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/jetpack/_inc/jetpack-connection-banner.js b/plugins/jetpack/_inc/jetpack-connection-banner.js
index f3f5028d..d846870a 100644
--- a/plugins/jetpack/_inc/jetpack-connection-banner.js
+++ b/plugins/jetpack/_inc/jetpack-connection-banner.js
@@ -8,15 +8,8 @@
fullScreenDismiss = $( '.jp-connect-full__dismiss, .jp-connect-full__dismiss-paragraph' ),
wpWelcomeNotice = $( '#welcome-panel' ),
connectionBanner = $( '#message' ),
- placeholder = $( '.jp-loading-placeholder' ),
connectionBannerDismiss = $( '.connection-banner-dismiss' );
- if ( placeholder && placeholder.length ) {
- fullScreenContainer.show();
- var shell = $( '<div class="jp-lower"></div>' ).html( fullScreenContainer );
- placeholder.hide().after( shell );
- }
-
// Move the banner below the WP Welcome notice on the dashboard
$( window ).on( 'load', function() {
wpWelcomeNotice.insertBefore( connectionBanner );