From 1418f9ab9eb54ff66cf1dbc7390be0492bf6df78 Mon Sep 17 00:00:00 2001 From: xiaoyifang Date: Wed, 6 Nov 2024 09:09:18 +0800 Subject: [PATCH] opt: make custom javascript delay execution --- src/article_maker.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/article_maker.cc b/src/article_maker.cc index 9558ac41..e6301ecd 100644 --- a/src/article_maker.cc +++ b/src/article_maker.cc @@ -209,7 +209,7 @@ body { background: #242525; } // load the `article-style.js` in user's config folder if ( auto userJsFile = Config::getUserJsFileName(); userJsFile.has_value() ) { - result += fmt::format( FMT_COMPILE( R"()" ), userJsFile.value() ); + result += fmt::format( FMT_COMPILE( R"()" ), userJsFile.value() ); } result += "";