Remove emtpy modal calls.

modal('show') should work for all versions of bootstrap.
This commit is contained in:
Nathan Swain
2022-06-07 08:39:08 -06:00
parent 7eecd759f7
commit 7b2c5727e4
3 changed files with 1 additions and 5 deletions

View File

@@ -19,7 +19,6 @@
$("#modal-body").html("Are you sure you want to delete '"+name+"'? you may lose access to your system if this your only 2FA.");
$("#actionBtn").remove()
$("#modal-footer").prepend("<button id='actionBtn' class='btn btn-danger' onclick='confirmDel("+id+")'>Confirm Deletion</button>")
$("#popUpModal").modal()
$("#popUpModal").modal('show')
}