Skip to content

Commit

Permalink
Drop useless update_current_tab param
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-anne authored and trasher committed Nov 20, 2023
1 parent 380a734 commit e1674dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ public static function createTabs(
}
});
}
if (update_current_tab && $(target).html() && !force_reload) {
if ($(target).html() && !force_reload) {
updateCurrentTab();
return;
}
Expand Down

0 comments on commit e1674dd

Please sign in to comment.