From 5424788164f8521540c150700bb51dceafd35235 Mon Sep 17 00:00:00 2001 From: Florian Date: Thu, 2 Jun 2016 22:50:55 +0200 Subject: [PATCH] HTMLForm: Don't add a type=reset to links Follow up: Ieb80e2ff36751abc6f00e2a02926fe9800666a8b Change-Id: If88c80a46cba9729a9503b82532584443d6d5ba4 --- includes/htmlform/HTMLForm.php | 1 - includes/htmlform/VFormHTMLForm.php | 1 - 2 files changed, 2 deletions(-) diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php index f07371793e..8ac4cf2a29 100644 --- a/includes/htmlform/HTMLForm.php +++ b/includes/htmlform/HTMLForm.php @@ -1118,7 +1118,6 @@ class HTMLForm extends ContextSource { $buttons .= Html::element( 'a', [ - 'type' => 'reset', 'class' => $useMediaWikiUIEverywhere ? 'mw-ui-button' : null, 'href' => $target, ], diff --git a/includes/htmlform/VFormHTMLForm.php b/includes/htmlform/VFormHTMLForm.php index 3adab70976..c920ac3188 100644 --- a/includes/htmlform/VFormHTMLForm.php +++ b/includes/htmlform/VFormHTMLForm.php @@ -124,7 +124,6 @@ class VFormHTMLForm extends HTMLForm { $buttons .= Html::element( 'a', [ - 'type' => 'reset', 'class' => 'mw-ui-button mw-ui-big mw-ui-block', 'href' => $target, ], -- 2.20.1