From 76b2ccf9232312ec324c6545c2ab4f9889adab41 Mon Sep 17 00:00:00 2001 From: chaideqing Date: Tue, 19 Dec 2023 01:11:25 +0000 Subject: [PATCH] * Fix bug #41966. --- module/doc/js/create.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/doc/js/create.js b/module/doc/js/create.js index ddc9db5af4..8c3d3dceda 100644 --- a/module/doc/js/create.js +++ b/module/doc/js/create.js @@ -56,7 +56,7 @@ $(function() $('#status').val('normal'); }); - if(docType == 'html' || docType == 'markdown') docType = docContentType; + if(docType == 'html' || docType == 'template') docType = docContentType; setTimeout(function(){initPage(docType)}, 50); if(typeof(window.editor) != 'undefined') {