mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
Remove unneeded escape characters
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -215,7 +215,7 @@ $(document).ready(function(){
|
||||
|
||||
// Handle list deletion
|
||||
$("button[id^='adlist-btn-']").on("click", function (e) {
|
||||
var id = parseInt($(this).context.id.replace(/[^0-9\.]/g, ""), 10);
|
||||
var id = parseInt($(this).context.id.replace(/[^0-9.]/g, ""), 10);
|
||||
e.preventDefault();
|
||||
|
||||
var status = $("input[name=\"adlist-del-"+id+"\"]").is(":checked");
|
||||
|
||||
Reference in New Issue
Block a user