From b6c292395551bb1b2be3599a0a59fd739c155f14 Mon Sep 17 00:00:00 2001 From: mitsugu oyama Date: Thu, 29 Jan 2015 14:18:21 +0900 Subject: bug fix Sometime, cannot save single image. When image contents is old type. --- pixiv.js | 34 ++++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) (limited to 'pixiv.js') diff --git a/pixiv.js b/pixiv.js index 9aefe5c..2549f4b 100644 --- a/pixiv.js +++ b/pixiv.js @@ -217,8 +217,7 @@ commands.addUserCommand( return url; }; - let saveImageFile=function(){ - let imgUrl=getImageUrl(contents); + let saveImageFile=function(imgUrl){ if(0