Merge "DisplaySettings: disallow focus on tabgroup buttons"

This commit is contained in:
jenkins-bot authored and Gerrit Code Review committed 2016-08-16 10:48:09 +00:00
commit c4e5dcc2fd
1 file changed
+3 -1
+3 -1
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();
} );
},