mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-07-20 16:21:26 +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 self = this;
|
||||||
var searchBtn = $('<button />')
|
var searchBtn = $('<button />')
|
||||||
.text('Search')
|
.text('Search')
|
||||||
|
.attr('type', 'submit')
|
||||||
.on('click', function(e) {
|
.on('click', function(e) {
|
||||||
self.$table.empty();
|
self.$table.empty();
|
||||||
var search = {};
|
var search = {};
|
||||||
|
Reference in New Issue
Block a user