Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #179 from OrchidLiu/master
Browse files Browse the repository at this point in the history
修复远程图片抓取插件默认配置无效的问题
  • Loading branch information
zuohuadong authored Apr 29, 2020
2 parents 197acd4 + 5de548e commit 86f70db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _src/plugins/catchremoteimage.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ UE.plugins["catchremoteimage"] = function() {
ajax = UE.ajax;

/* 设置默认值 */
if (me.options.catchRemoteImageEnable === false) return;
me.setOpt({
catchRemoteImageEnable: false
});

if (me.options.catchRemoteImageEnable === false) return;

me.addListener("afterpaste", function() {
me.fireEvent("catchRemoteImage");
});
Expand Down

0 comments on commit 86f70db

Please sign in to comment.