aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nico_related_videos.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/nico_related_videos.js b/nico_related_videos.js
index 7a4fb3d..686a0f0 100644
--- a/nico_related_videos.js
+++ b/nico_related_videos.js
@@ -77,7 +77,7 @@
['nicorelated'],
'niconico related videos',
function (url) {
- (url === undefined) || (url = url.string);
+ (url.string === undefined) || (url = url.string);
url = (function () {
if (url == nothing)
return 'http://www.nicovideo.jp/';