Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Commit

Permalink
Changed button type to reset since IE will change type to "submit" if…
Browse files Browse the repository at this point in the history
… it's not expected.
  • Loading branch information
Kevin Miller committed Jan 4, 2014
1 parent 3df5ec8 commit b23554e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testfiles/common/formHasSubmitButton-fail-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<body>
<p>This form is missing a submit button:</p>
<form>
<label for="search">Search</label> <input type="search" id="search"> <button type="wrong">Search</button>
<label for="search">Search</label> <input type="search" id="search"> <button type="reset">Search</button>
</form>
<script id="qunit-jquery"
src="../../../lib/jquery/jquery.js"></script>
Expand Down

0 comments on commit b23554e

Please sign in to comment.