From e5822e069a4ceaf2a9d227904497f52f8d30cf33 Mon Sep 17 00:00:00 2001 From: John Campbell Date: Thu, 12 Apr 2018 15:02:48 -0400 Subject: [PATCH] removing deprecated jQuery 'live' function usage --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 7a793c0..1f6a4a1 100644 --- a/index.php +++ b/index.php @@ -277,7 +277,7 @@ $(function(){ $(window).bind('hashchange',list).trigger('hashchange'); $('#table').tablesorter(); - $('.delete').live('click',function(data) { + $('#table').on('click','.delete',function(data) { $.post("",{'do':'delete',file:$(this).attr('data-file'),xsrf:XSRF},function(response){ list(); },'json');