diff options
author | anekos | 2010-09-13 14:27:20 +0000 |
---|---|---|
committer | anekos | 2010-09-13 14:27:20 +0000 |
commit | ee1218c60c44b619dd19d4638d3a7cf8f5d049dc (patch) | |
tree | fc91927653cf34c3a2c00846207d51be0815409c /twittperator.js | |
parent | b623979a29873b633b8872cdf86e445bdcdd460b (diff) | |
download | vimperator-plugins-ee1218c60c44b619dd19d4638d3a7cf8f5d049dc.tar.bz2 |
余計だったのでIDのみに
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@38465 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'twittperator.js')
-rwxr-xr-x | twittperator.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/twittperator.js b/twittperator.js index ab079e7..b624f21 100755 --- a/twittperator.js +++ b/twittperator.js @@ -1755,11 +1755,11 @@ let PLUGIN_INFO = command: ["+"], description: "Fav a tweet", action: function(arg) { - let m = arg.match(/^.*#(\d+)/); + let m = arg.match(/^\d+/); if (m) - Twitter.favorite(m[1]); + Twitter.favorite(m[0]); }, - completer: Completers.name_id_text(rejectMine) + completer: Completers.id(rejectMine) }), SubCommand({ command: ["-"], |