From d94a487332e1413a1d16451970de99cc364e8b0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=9C=E6=81=92?= <2323333339@qq.com> Date: Fri, 22 Jan 2021 13:32:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/js/joe.global.js | 5 +---- public/include.php | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/assets/js/joe.global.js b/assets/js/joe.global.js index 01a3679..4ab1544 100644 --- a/assets/js/joe.global.js +++ b/assets/js/joe.global.js @@ -3,16 +3,13 @@ window.Joe = function () { const BASE_API = '/index.php/joe/api'; /* 头部高度 */ const Header_Height = $('.joe_header').height(); - /* 解决移动端Hover问题 */ document.addEventListener('touchstart', () => {}); - /* 判断是否是手机 */ const IsMobile = /windows phone|iphone|android/gi.test(window.navigator.userAgent); - /* 设置侧边栏最后一个元素的高度 */ $('.joe_aside .joe_aside__item:last-child').css('top', Header_Height + 15); - + /* Dropdown */ $('.joe_dropdown').each(function (index, item) { const menu = $(this).find('.joe_dropdown__menu'); diff --git a/public/include.php b/public/include.php index 56b86b4..a791380 100644 --- a/public/include.php +++ b/public/include.php @@ -14,8 +14,8 @@ + - \ No newline at end of file