mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +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:
@@ -232,7 +232,7 @@ function initTable() {
|
||||
}
|
||||
|
||||
var button =
|
||||
'<button class="btn btn-danger btn-xs" type="button" id="deleteDomain_' +
|
||||
'<button type="button" class="btn btn-danger btn-xs" id="deleteDomain_' +
|
||||
data.id +
|
||||
'">' +
|
||||
'<span class="far fa-trash-alt"></span>' +
|
||||
|
||||
Reference in New Issue
Block a user