This commit is contained in:
haoouba 2021-02-17 21:06:10 +08:00
parent fc67467fe5
commit 064f79459f
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
/* 获取主题当前版本号 */ /* 获取主题当前版本号 */
function _getVersion() function _getVersion()
{ {
return "5.1.0"; return "5.1.1";
}; };
/* 判断是否是手机 */ /* 判断是否是手机 */

View File

@ -163,7 +163,7 @@ $(function () {
/* 此处无需修改 */ /* 此处无需修改 */
items.forEach(_ => { items.forEach(_ => {
let item = $(`<li class="wmd-button" id="${_.id}" title="${_.title}">${_.svg}</li>`); let item = $(`<li class="wmd-button" id="${_.id}" title="${_.title}">${_.svg}</li>`);
item.on('mousedown touchstart', () => $('#text').insertContent(getInsertTextById(_.id))); item.on('mousedown', () => $('#text').insertContent(getInsertTextById(_.id)));
$('#wmd-button-row').append(item); $('#wmd-button-row').append(item);
}); });
}); });