From e1674dd1e7890eaa727e3e3c0ed54c235edd0d42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Anne?= Date: Mon, 20 Nov 2023 09:53:16 +0100 Subject: [PATCH] Drop useless `update_current_tab` param --- src/Ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ajax.php b/src/Ajax.php index a20c03e0f9a..d7eed99f676 100644 --- a/src/Ajax.php +++ b/src/Ajax.php @@ -413,7 +413,7 @@ public static function createTabs( } }); } - if (update_current_tab && $(target).html() && !force_reload) { + if ($(target).html() && !force_reload) { updateCurrentTab(); return; }