aboutsummaryrefslogtreecommitdiffstats
path: root/reading.js
diff options
context:
space:
mode:
Diffstat (limited to 'reading.js')
-rw-r--r--reading.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/reading.js b/reading.js
index b2c2015..785b0c2 100644
--- a/reading.js
+++ b/reading.js
@@ -4,7 +4,7 @@
* @description update Twitter's status to current URL and comment
* @description-ja 今見てるページの URL とタイトルをコメントといっしょに Twitter に投稿する
* @author janus_wel <janus_wel@fb3.so-net.ne.jp>
- * @version 0.22
+ * @version 0.23
* @minversion 2.0pre 2008/10/16
* ==/VimperatorPlugin==
*
@@ -80,7 +80,7 @@ Scraper.prototype = {
};
liberator.modules.commands.addUserCommand(['reading'], "update Twitter's status to current page title, URL and comment",
- function(args, special) {
+ function(args) {
try {
let arg = args.string;
@@ -104,7 +104,7 @@ liberator.modules.commands.addUserCommand(['reading'], "update Twitter's status
.replace(/\$COMMENT/g, arg);
// ':matanico!' display the evaluated format.
- if(special) {
+ if(args.bang) {
liberator.modules.util.copyToClipboard(post_string, true);
return;
}