mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-07-17 14:51:37 +02:00
Add type=submit to search
See https://github.com/barryvdh/laravel-debugbar/pull/224 by @barryvanveen > Create button with type="submit" so Bootlint doesn't thrown an W007-error (https://github.com/twbs/bootlint/wiki/W007)
This commit is contained in:
@@ -77,6 +77,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
|
||||
var self = this;
|
||||
var searchBtn = $('<button />')
|
||||
.text('Search')
|
||||
.attr('type', 'submit')
|
||||
.on('click', function(e) {
|
||||
self.$table.empty();
|
||||
var search = {};
|
||||
|
Reference in New Issue
Block a user