aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stella.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/stella.js b/stella.js
index 904582e..08f73cb 100644
--- a/stella.js
+++ b/stella.js
@@ -39,7 +39,7 @@ let PLUGIN_INFO =
<name lang="ja">すてら</name>
<description>Show video informations on the status line.</description>
<description lang="ja">ステータスラインに動画の再生時間などを表示する。</description>
- <version>0.14</version>
+ <version>0.15</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>
@@ -1469,6 +1469,9 @@ Thanks:
let relmenu = document.getElementById('anekos-stela-relations-menupopup');
let rels = this.player.relations;
+ while (relmenu.firstChild)
+ relmenu.removeChild(relmenu.firstChild);
+
rels.forEach(function (rel) {
let elem = document.createElement('menuitem');
let prefix = rel instanceof RelatedID ? 'ID: ' :