From 15d85a425404306594636cb544a96d9b72276dd7 Mon Sep 17 00:00:00 2001 From: discomrade Date: Fri, 25 Feb 2022 02:03:52 -0100 Subject: [PATCH] Reset auto-reload.js countdown after post --- js/auto-reload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/auto-reload.js b/js/auto-reload.js index 36ba9e92..b9bcc9c8 100644 --- a/js/auto-reload.js +++ b/js/auto-reload.js @@ -220,7 +220,7 @@ $(document).ready(function(){ return false; }; - $(post).on('submit', function(e){ + $(document).on('ajax_after_post', function(e){ poll_current_time = poll_interval_mindelay; });