From ab84a27d863ee1d992b901b5b872f23d21e2fb12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=9C=E6=81=92?= <2323333339@qq.com>
Date: Fri, 19 Feb 2021 17:04:34 +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 | 1 +
core/function.php | 2 +-
functions.php | 2 +-
public/include.php | 1 -
4 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/assets/js/joe.global.js b/assets/js/joe.global.js
index 1133819..0acddb2 100644
--- a/assets/js/joe.global.js
+++ b/assets/js/joe.global.js
@@ -160,6 +160,7 @@ document.addEventListener('DOMContentLoaded', () => {
const style = $('.joe_aside__item.weather').attr('data-style');
const aqiColor = { 1: 'FFFFFF', 2: '4A4A4A', 3: 'FFFFFF' };
window.WIDGET = { CONFIG: { layout: 2, width: '220', height: '270', background: style, dataColor: aqiColor[style], language: 'zh', key: key } };
+ $.getScript("https://apip.weatherdt.com/standard/static/js/weather-standard.js?v=2.0")
}
}
diff --git a/core/function.php b/core/function.php
index b15c238..65d09ef 100644
--- a/core/function.php
+++ b/core/function.php
@@ -3,7 +3,7 @@
/* 获取主题当前版本号 */
function _getVersion()
{
- return "5.2.1";
+ return "5.2.2";
};
/* 判断是否是手机 */
diff --git a/functions.php b/functions.php
index 2ae7669..d8c60f5 100644
--- a/functions.php
+++ b/functions.php
@@ -372,7 +372,7 @@ function themeConfig($form)
$JAside_Author_Nav->setAttribute('class', 'joe_content joe_aside');
$form->addInput($JAside_Author_Nav->multiMode());
- $JAside_Weather_Key = new Typecho_Widget_Helper_Form_Element_Textarea(
+ $JAside_Weather_Key = new Typecho_Widget_Helper_Form_Element_Text(
'JAside_Weather_Key',
NULL,
NULL,
diff --git a/public/include.php b/public/include.php
index 66670b0..cdae624 100644
--- a/public/include.php
+++ b/public/include.php
@@ -69,7 +69,6 @@
-
options->JCursorEffects && $this->options->JCursorEffects !== 'off') : ?>