• R/O
  • SSH
  • HTTPS

nicoro: Commit


Commit MetaInfo

Revisão569 (tree)
Hora2013-01-14 00:37:25
Autorshisei123

Mensagem de Log

HTML内のメニューが再更新されない問題を修正

Mudança Sumário

Diff

--- trunk/NicoRo/res/raw/replace_flvplayer_container.js (revision 568)
+++ trunk/NicoRo/res/raw/replace_flvplayer_container.js (revision 569)
@@ -1,4 +1,5 @@
1-if (document.getElementById('nicoro_player') == null) {
1+var nicoroPlayer = document.getElementById('nicoro_player');
2+if (nicoroPlayer == null) {
23 var playerElem = document.getElementById('flvplayer_container');
34 if (playerElem == null) {
45 playerElem = document.getElementById('nico-player');
@@ -11,6 +12,8 @@
1112 } else {
1213 nicoro.log('flvplayer_container and nico-player not found');
1314 }
15+} else {
16+ nicoroPlayer.innerHTML = nicoro.getFlvplayerContainerHtml(document.URL);
1417 }
1518
1619 var nicoplayerContainerInner = document.getElementById('nicoplayerContainerInner');
Show on old repository browser