提交 2acc0aca 编写于 作者: C Catouse

* improve document UI.

上级 c4a5102b
......@@ -1164,12 +1164,13 @@
var loadPage = function(section, topic, waitRemote) {
section = section || currentSection;
$pageContent.empty();
if(topic !== '!refresh') $pageContent.empty();
$page.addClass('loading');
$pageLoader.removeClass('with-error').addClass('loading');
var lastShowDataCall;
loadData(section.url, function(data, dataType) {
if(zuiPkg) data = data.format(zuiPkg, '{\\$0}');
var showData = function() {
if(data && window.marked && section.targetType === 'markdown') {
var $article = $();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册