aboutsummaryrefslogtreecommitdiffstats
path: root/bitly.js
diff options
context:
space:
mode:
Diffstat (limited to 'bitly.js')
-rw-r--r--bitly.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitly.js b/bitly.js
index 5d84906..3dd63f7 100644
--- a/bitly.js
+++ b/bitly.js
@@ -38,7 +38,7 @@ let PLUGIN_INFO =
<name>bit.ly</name>
<description>Get short alias by bit.ly and j.mp</description>
<description lang="ja">bit.ly や j.mp で短縮URLを得る</description>
- <version>2.0.0</version>
+ <version>2.0.1</version>
<author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author>
<license>new BSD License (Please read the source code comments of this plugin)</license>
<license lang="ja">修正BSDライセンス (ソースコードのコメントを参照してください)</license>
@@ -115,7 +115,7 @@ let PLUGIN_INFO =
'format=txt';
req.open('GET', requestUri, callback);
req.send(null);
- return !callback && req.responseText;
+ return !callback && req.responseText.trim();
}
let auth = getAuth();