aboutsummaryrefslogtreecommitdiffstats
path: root/includes/specials/forms
diff options
context:
space:
mode:
Diffstat (limited to 'includes/specials/forms')
-rw-r--r--includes/specials/forms/PreferencesFormOOUI.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/includes/specials/forms/PreferencesFormOOUI.php b/includes/specials/forms/PreferencesFormOOUI.php
index 219d9c4ca89b..b6483f74ff66 100644
--- a/includes/specials/forms/PreferencesFormOOUI.php
+++ b/includes/specials/forms/PreferencesFormOOUI.php
@@ -287,15 +287,6 @@ class PreferencesFormOOUI extends OOUIHTMLForm {
'id' => 'mw-mobile-prefs-' . $key . '-head'
] );
$contentHeader->addClasses( [ 'mw-prefs-content-head' ] );
- $contentHeaderBackButton = new OOUI\IconWidget( [
- 'icon' => 'close',
- 'label' => $this->msg( "prefs-back-label" ),
- 'title' => $this->msg( "prefs-back-title" ),
- 'classes' => [ 'mw-prefs-header-icon', 'mw-ui-icon' ],
- ] );
- $contentHeaderBackButton->setAttributes( [
- 'id' => 'mw-mobile-prefs-' . $key . '-back-button',
- ] );
$contentHeaderTitle = ( new OOUI\Tag( 'h5' ) )->setAttributes( [
'id' => 'mw-mobile-prefs-' . $key . '-title',
] );
@@ -304,7 +295,6 @@ class PreferencesFormOOUI extends OOUIHTMLForm {
'content' => new OOUI\HtmlSnippet( $content )
] );
$hiddenForm = ( new OOUI\Tag( 'div' ) )->appendContent( $formContent );
- $contentHeader->appendContent( $contentHeaderBackButton );
$contentHeader->appendContent( $contentHeaderTitle );
$contentDiv->appendContent( $contentHeader );
$contentDiv->appendContent( $hiddenForm );