Merge "DisplaySettings: disallow focus on tabgroup buttons"

This commit is contained in:
jenkins-bot
2016-08-16 10:48:09 +00:00
committed by Gerrit Code Review

View File

@@ -612,7 +612,9 @@
displaySettings.$parent.position();
$tabButtons.removeClass( 'mw-ui-pressed' );
$button.addClass( 'mw-ui-pressed' );
} ).on( 'mousedown', function ( event ) {
// Avoid taking focus, to avoid bad looking focus styles
event.preventDefault();
} );
},