diff --git a/resources/ext.popups/changeListeners/footerLink.js b/resources/ext.popups/changeListeners/footerLink.js index a471ab3d2..e28e99260 100644 --- a/resources/ext.popups/changeListeners/footerLink.js +++ b/resources/ext.popups/changeListeners/footerLink.js @@ -57,7 +57,10 @@ return function ( prevState, state ) { if ( $footerLink === undefined ) { $footerLink = createFooterLink(); - $footerLink.click( boundActions.showSettings ); + $footerLink.click( function ( e ) { + e.preventDefault(); + boundActions.showSettings(); + } ); } if ( state.preview.enabled ) { diff --git a/resources/ext.popups/renderer.js b/resources/ext.popups/renderer.js index 359fdb366..c4f24933f 100644 --- a/resources/ext.popups/renderer.js +++ b/resources/ext.popups/renderer.js @@ -267,6 +267,7 @@ layoutPreview( preview, layout ); preview.el.hover( boundActions.previewDwell, boundActions.previewAbandon ); + preview.el.find( '.mwe-popups-settings-icon' ).click( boundActions.showSettings ); preview.el.show();