Commit e3088d67 authored by Vanessa's avatar Vanessa

fixed #129, fixed #130

parent c53b3170
......@@ -41,8 +41,7 @@ admin.editors.CodeMirror = {
"<div class='clear'></div>" +
"<div class='markdown-preview-main none'></div>" +
"<div class='markdown-help-main'>" + Label.markdownHelpLabel + "</div>"
"</div>" +
"<div class='clear'></div>";
+ "</div><div class='clear'></div>";
}
$("#" + conf.id).after(previewHTML);
......
......@@ -39,7 +39,7 @@ admin.editors.KindEditor = {
langType : language,
resizeType: 0,
items: ["bold", "italic", "underline", "strikethrough", "|", "undo", "redo", "|",
"insertunorderedlist", "insertorderedlist",
"insertunorderedlist", "insertorderedlist", "|", "source"
]
});
} catch (e) {
......
This diff is collapsed.
......@@ -68,7 +68,7 @@
B3log Solo
</a>
<span class="left">&nbsp;${onlineVisitor1Label}${onlineVisitorCnt}</span>
<span class="right" id="admin">
<span class="right" id="admin" data-login="${isLoggedIn?string}">
<#if isLoggedIn>
<span>${userName}</span>
<#if isAdmin>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment