Skip to content

Commit ab83de1

Browse files
committed
Add type=submit to search
See barryvdh/laravel-debugbar#224 by @barryvanveen > Create button with type="submit" so Bootlint doesn't thrown an W007-error (https://github.com/twbs/bootlint/wiki/W007)
1 parent c94b481 commit ab83de1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/DebugBar/Resources/openhandler.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
7777
var self = this;
7878
var searchBtn = $('<button />')
7979
.text('Search')
80+
.attr('type', 'submit')
8081
.on('click', function(e) {
8182
self.$table.empty();
8283
var search = {};

0 commit comments

Comments
 (0)