mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
Add type="button" to all buttons.
The default is `type="submit"`. Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -69,7 +69,7 @@ $(document).ready(function () {
|
||||
$("td:eq(3)", row).empty();
|
||||
if (data.id !== 0) {
|
||||
var button =
|
||||
'<button class="btn btn-danger btn-xs" type="button" id="deleteGroup_' +
|
||||
'<button type="button" class="btn btn-danger btn-xs" id="deleteGroup_' +
|
||||
data.id +
|
||||
'">' +
|
||||
'<span class="far fa-trash-alt"></span>' +
|
||||
|
||||
Reference in New Issue
Block a user