This commit is contained in:
@@ -50,21 +50,9 @@
|
||||
</div>
|
||||
<script type="text/javascript" src="${staticServePath}/js/lib/jquery/jquery.min.js" charset="utf-8"></script>
|
||||
<script type="text/javascript" src="${staticServePath}/js/common${miniPostfix}.js?${staticResourceVersion}" charset="utf-8"></script>
|
||||
<#include "../../common-template/skin-script.ftl">
|
||||
<script type="text/javascript">
|
||||
var latkeConfig = {
|
||||
"servePath": "${servePath}",
|
||||
"isLoggedIn": "${isLoggedIn?string}",
|
||||
"staticServePath": "${staticServePath}"
|
||||
};
|
||||
|
||||
var Label = {
|
||||
"markedAvailable": ${markedAvailable?c},
|
||||
"hljsStyle": "atom-one-light",
|
||||
"langLabel": "${langLabel}",
|
||||
"adminLabel": "${adminLabel}",
|
||||
"logoutLabel": "${logoutLabel}",
|
||||
"skinDirName": "${skinDirName}"
|
||||
},
|
||||
|
||||
maxLength = parseInt("${mostCommentArticles?size}");
|
||||
|
||||
$(document).ready(function () {
|
||||
@@ -81,9 +69,8 @@
|
||||
$(".moon-current-icon").removeClass().addClass("moon-icon");
|
||||
}
|
||||
|
||||
Util.init();
|
||||
Util.setTopBar()
|
||||
|
||||
|
||||
$(".footer-block").each(function (num) {
|
||||
var $lis = $(this).find("li");
|
||||
if ($lis.length > maxLength) {
|
||||
|
Reference in New Issue
Block a user