aboutsummaryrefslogtreecommitdiffstats
path: root/nnp_cooperation.js
diff options
context:
space:
mode:
Diffstat (limited to 'nnp_cooperation.js')
-rw-r--r--nnp_cooperation.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/nnp_cooperation.js b/nnp_cooperation.js
index 4b46e13..dad1ab7 100644
--- a/nnp_cooperation.js
+++ b/nnp_cooperation.js
@@ -145,8 +145,8 @@ const itemHTML = [
// scrape from div element that inserted by NicoNicoPlaylist
liberator.modules.commands.addUserCommand(['nnpgetlist'], 'get NicoNicoPlaylist',
function (args) {
- var arg = (args.arguments.length > 1)
- ? args.arguments[0].toString()
+ var arg = (args.length > 1)
+ ? args[0].toString()
: args.string;
// check existence of NicoNicoPlaylist