From 1e0dbde61bc86d09b0c91e13fa123c75b5bf21d5 Mon Sep 17 00:00:00 2001 From: shylinux Date: Wed, 18 Mar 2020 10:13:45 +0800 Subject: [PATCH] opt some --- plugin/wiki/feel.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/wiki/feel.js b/plugin/wiki/feel.js index 65c42a4b..863533a7 100644 --- a/plugin/wiki/feel.js +++ b/plugin/wiki/feel.js @@ -13,6 +13,7 @@ Volcanos("onimport", {help: "导入数据", list: [], var items = item.path.split("."); switch (items[items.length-1]) { case "png": + case "jpg": case "JPG": return {className: "preview", img: "/share/local/web.wiki.feel/"+item.path, width: width, oncontextmenu: menu} case "MOV":