From 064f79459fd7edbd44808e9d2f93ebb27203062d Mon Sep 17 00:00:00 2001 From: haoouba <2323333339@qq.com> Date: Wed, 17 Feb 2021 21:06:10 +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 --- core/function.php | 2 +- typecho/editor/joe.editor.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/function.php b/core/function.php index 70182ea..7f9a23e 100644 --- a/core/function.php +++ b/core/function.php @@ -3,7 +3,7 @@ /* 获取主题当前版本号 */ function _getVersion() { - return "5.1.0"; + return "5.1.1"; }; /* 判断是否是手机 */ diff --git a/typecho/editor/joe.editor.js b/typecho/editor/joe.editor.js index 132a002..713be90 100644 --- a/typecho/editor/joe.editor.js +++ b/typecho/editor/joe.editor.js @@ -163,7 +163,7 @@ $(function () { /* 此处无需修改 */ items.forEach(_ => { let item = $(`
  • ${_.svg}
  • `); - item.on('mousedown touchstart', () => $('#text').insertContent(getInsertTextById(_.id))); + item.on('mousedown', () => $('#text').insertContent(getInsertTextById(_.id))); $('#wmd-button-row').append(item); }); });