From f5c5041f7091af9dd0a66491e6eadc54431369aa Mon Sep 17 00:00:00 2001 From: abc2237512422 Date: Thu, 7 Nov 2019 22:57:02 +0800 Subject: [PATCH] 0.582 --- README.md | 3 +++ argontheme.js | 8 +++++--- info.json | 4 ++-- style.css | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d10c1eeb..805efae8 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,9 @@ Argon - 一个轻盈、简洁、美观的 WordPress 主题 # 更新日志 +## 20191107 v0.582 ++ 修复未开启 Mathjax 选项时 Pjax 错误的问题 + ## 20191104 v0.581 + 支持切换主题更新源 + 修复 CSS 一个小问题 diff --git a/argontheme.js b/argontheme.js index 2227e82e..650fc82b 100644 --- a/argontheme.js +++ b/argontheme.js @@ -492,9 +492,11 @@ function pjaxLoadUrl(url , pushstate){ pjaxLoading = false; pjaxUrlChanged = true; - if (MathJax != undefined){ - MathJax.typeset() - } + try{ + if (MathJax != undefined){ + MathJax.typeset() + } + }catch (err){} getGithubInfoCardContent(); diff --git a/info.json b/info.json index d3ac67de..3674eae6 100644 --- a/info.json +++ b/info.json @@ -1,5 +1,5 @@ { - "version" : "0.581", + "version" : "0.582", "details_url" : "https://github.com/abc2237512422/argon-theme/releases", - "download_url" : "https://github.com/abc2237512422/argon-theme/releases/download/v0.581/argon.zip" + "download_url" : "https://github.com/abc2237512422/argon-theme/releases/download/v0.582/argon.zip" } diff --git a/style.css b/style.css index 2216a3a5..d06261fa 100644 --- a/style.css +++ b/style.css @@ -3,7 +3,7 @@ Theme Name: argon Author: abc2237512422 Author URI: https://abc233.site/ Description: 轻盈、简洁、美观的 Wordpress 主题 -Version: 0.581 +Version: 0.582 License: MIT License License URI: https://opensource.org/licenses/MIT Tags: 简约, 两栏, 侧栏在左边, 浮动侧栏, 文章目录, 自适应, 夜间模式, 可自定义