移除繁简翻译
This commit is contained in:
parent
7566d6a530
commit
7507360866
File diff suppressed because one or more lines are too long
|
@ -248,7 +248,6 @@ document.getElementById("post-comment") && owoBig(), document.addEventListener("
|
|||
n && o && (e = n.offsetTop + n.offsetHeight / 2, 1300 < document.body.clientWidth && (e < t ? o.classList.add("show-window") : o.classList.remove("show-window")))
|
||||
}, 200)), "false" !== localStorage.getItem("keyboardToggle") ? document.querySelector("#consoleKeyboard").classList.add("on") : document.querySelector("#consoleKeyboard").classList.remove("on"), $(window).on("keydown", function (e) {
|
||||
if (27 == e.keyCode && (heo.hideLoading(), heo.hideConsole(), rm.hideRightMenu()), heo_keyboard && e.shiftKey) {
|
||||
if (16 == e.keyCode && document.querySelector("#keyboard-tips").classList.add("show"), 75 == e.keyCode) return heo.keyboardToggle(), !1;
|
||||
if (65 == e.keyCode) return heo.showConsole(), !1;
|
||||
if (77 == e.keyCode) return heo.musicToggle(), !1;
|
||||
if (82 == e.keyCode) return toRandomPost(), !1;
|
||||
|
@ -258,10 +257,6 @@ document.getElementById("post-comment") && owoBig(), document.addEventListener("
|
|||
}
|
||||
});
|
||||
|
||||
$(window).on("keyup", function (e) {
|
||||
16 == e.keyCode && document.querySelector("#keyboard-tips").classList.remove("show")
|
||||
});
|
||||
|
||||
document.addEventListener("pjax:send", function () {
|
||||
heo.showLoading()
|
||||
});
|
||||
|
|
|
@ -260,9 +260,6 @@ function addRightMenuClickEvent() {
|
|||
$("#rightmenu-mask").contextmenu(function () {
|
||||
return rm.hideRightMenu(), !1;
|
||||
}),
|
||||
$("#menu-translate").on("click", function () {
|
||||
rm.hideRightMenu(), translateInitialization();
|
||||
}),
|
||||
$("#menu-copy").on("click", rm.copyPageUrl),
|
||||
$("#menu-pastetext").on("click", rm.pasteText),
|
||||
$("#menu-copytext").on("click", function () {
|
||||
|
|
|
@ -26,10 +26,6 @@
|
|||
<script th:src="@{/assets/js/main.js}"></script>
|
||||
<script charset="utf-8" data-pjax="" th:src="@{/assets/zhheo/blogex.js}"></script>
|
||||
|
||||
<!-- 繁简翻译 js -->
|
||||
<!-- 改成可配置 -->
|
||||
<script th:src="@{/assets/libs/translate/tw_cn.js}"></script>
|
||||
|
||||
<!-- https://instant.page/ 网站预加载, 放在 </body> 之前 -->
|
||||
<script th:src="@{/assets/libs/instantpage/instantpage.min.js}" type="module"></script>
|
||||
|
||||
|
|
|
@ -57,9 +57,6 @@
|
|||
<div class="rightMenu-item" id="menu-darkmode">
|
||||
<i class="fa-solid fa-moon"></i><span class="menu-darkmode-text">显示模式</span>
|
||||
</div>
|
||||
<div class="rightMenu-item" id="menu-translate">
|
||||
<i class="fa-duotone fa-language"></i><span>轉為繁體</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="rightmenu-mask"></div>
|
||||
|
|
Loading…
Reference in New Issue