From d4e2c5327d707808086d3c1f020e884972698b21 Mon Sep 17 00:00:00 2001 From: anekos Date: Thu, 23 Jun 2011 23:43:36 +0900 Subject: プロテクトユーザ確認時のプロンプトにスクリーンネームがでていなかったのを修正 --- twittperator.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'twittperator.js') 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 { -- cgit v1.2.3