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.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/jetpack/_inc/jetpack-connection-banner.js b/plugins/jetpack/_inc/jetpack-connection-banner.js
index fc5b7705..37f38d82 100644
--- a/plugins/jetpack/_inc/jetpack-connection-banner.js
+++ b/plugins/jetpack/_inc/jetpack-connection-banner.js
@@ -36,7 +36,9 @@
transitionSlideToIndex( $( this ).index() );
} );
- nextFeatureButtons.on( 'click', function() {
+ nextFeatureButtons.on( 'click', function( e ) {
+ e.preventDefault();
+
var slideIndex = $( this )
.closest( '.jp-wpcom-connect__slide' )
.index();