From ca3f0c0dfca4cee859e38a81e43abdf2cc8c9f59 Mon Sep 17 00:00:00 2001 From: Zhaopudark Date: Thu, 13 Jun 2024 02:20:53 +0800 Subject: [PATCH] Site updated: 06/13/2024 02:20:53 --- source/js/custom_any_theme_headings_number.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/js/custom_any_theme_headings_number.js b/source/js/custom_any_theme_headings_number.js index 4026ad6..5944dfb 100644 --- a/source/js/custom_any_theme_headings_number.js +++ b/source/js/custom_any_theme_headings_number.js @@ -14,7 +14,7 @@ }else if(level == current_heading_level){ headingCounters[level-1] += 1; }else{ - headingCounters[level-1] = 1; + headingCounters[level-1] += 1; for (let i = level + 1; i < headingCounters.length; i++) { headingCounters[i] = 0; }