diff options
Diffstat (limited to 'stella.js')
-rw-r--r-- | stella.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -39,7 +39,7 @@ let PLUGIN_INFO = <name lang="ja">すてら</name> <description>For Niconico/YouTube, Add control commands and information display(on status line).</description> <description lang="ja">ニコニコ動画/YouTube 用。操作コマンドと情報表示(ステータスライン上に)追加します。</description> - <version>0.20.6</version> + <version>0.20.7</version> <author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author> <license>new BSD License (Please read the source code comments of this plugin)</license> <license lang="ja">修正BSDライセンス (ソースコードのコメントを参照してください)</license> @@ -1372,11 +1372,11 @@ Thanks: cmdName.replace(/[\[\]]+/g, '') + ' - Stella', (funcS instanceof Function) ? funcS - : function (arg, bang) { + : function (arg) { if (!self.isValid) U.raise('Stella: Current page is not supported'); let p = self.player; - let func = bang ? funcB : funcS; + let func = arg.bang ? funcB : funcS; if (p.has(func, 'rwt')) p.toggle(func); else if (p.has(func, 'rw')) |