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') {