aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator.js
diff options
context:
space:
mode:
authoranekos2011-06-23 23:43:36 +0900
committeranekos2011-06-23 23:43:36 +0900
commitd4e2c5327d707808086d3c1f020e884972698b21 (patch)
tree82a812e8ab02da6da019a1fbdd957ed39f2dc667 /twittperator.js
parentefa0c787787c5a108a48bce21bd1274ea1dd48b7 (diff)
downloadvimperator-plugins-d4e2c5327d707808086d3c1f020e884972698b21.tar.bz2
プロテクトユーザ確認時のプロンプトにスクリーンネームがでていなかったのを修正
Diffstat (limited to 'twittperator.js')
-rw-r--r--twittperator.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/twittperator.js b/twittperator.js
index 969bd56..7b6da40 100644
--- a/twittperator.js
+++ b/twittperator.js
@@ -1855,10 +1855,9 @@ let PLUGIN_INFO =
}
}, // }}}
withProtectedUserConfirmation: function(check, actionName, action) { // {{{
- let protectedUserName = Twittperator.isProtected(check);
- if (protectedUserName) {
+ if (Twittperator.isProtected(check)) {
Twittperator.confirm(
- protectedUserName + " is protected user! Do you really want to " + actionName + '?',
+ check.screenName + " is protected user! Do you really want to " + actionName + '?',
action
);
} else {