mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-27 09:42:11 +00:00
RealtimePreview: Set tabindex on realtimepreview-preview
Set tabindex="1" on `ext-WikiEditor-realtimepreview-preview` Bug: T317108 Change-Id: I06847674ebccf05e8cb45492056222e13cd00ef8
This commit is contained in:
parent
2b7077f534
commit
9c56922e25
|
@ -21,6 +21,7 @@ function RealtimePreview() {
|
|||
var $previewContent = $( '#wikiPreview .mw-content-ltr, #wikiPreview .mw-content-rtl' ).first().clone();
|
||||
this.$previewNode = $( '<div>' )
|
||||
.addClass( 'ext-WikiEditor-realtimepreview-preview' )
|
||||
.attr( 'tabindex', '1' ) // T317108
|
||||
.append( $previewContent );
|
||||
|
||||
// Loading bar.
|
||||
|
|
Loading…
Reference in a new issue