[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linterna-magica-commit] [339] Merging r338 from trunk to 0.0.12 branch.
From: |
Ivaylo Valkov |
Subject: |
[linterna-magica-commit] [339] Merging r338 from trunk to 0.0.12 branch. |
Date: |
Fri, 07 Dec 2012 19:14:26 +0000 |
Revision: 339
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=339
Author: valkov
Date: 2012-12-07 19:14:26 +0000 (Fri, 07 Dec 2012)
Log Message:
-----------
Merging r338 from trunk to 0.0.12 branch. Closes bugs #37881.
Revision Links:
--------------
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=338
Ticket Links:
------------
http://savannah.gnu.org/bugs/?37881
Modified Paths:
--------------
branches/0.0.12/src/lm_site_youtube.js
Property Changed:
----------------
branches/0.0.12/
Property changes on: branches/0.0.12
___________________________________________________________________
Modified: svn:mergeinfo
- /branches/0.0.9:94
/branches/task-11216:102-156
/trunk:287,292,314,318,323,327
+ /branches/0.0.9:94
/branches/task-11216:102-156
/trunk:287,292,314,318,323,327,338
Modified: branches/0.0.12/src/lm_site_youtube.js
===================================================================
--- branches/0.0.12/src/lm_site_youtube.js 2012-12-07 18:53:09 UTC (rev
338)
+++ branches/0.0.12/src/lm_site_youtube.js 2012-12-07 19:14:26 UTC (rev
339)
@@ -381,7 +381,8 @@
if (!width || !height)
{
- var p = document.getElementById("watch-player");
+ var p = this.get_first_element_by_class("player-root");
+
height = p ? p.clientHeight : null;
width = p ? p.clientWidth : null;
}
@@ -433,7 +434,7 @@
linterna_magica_id =
this.mark_flash_object("extracted-from-script");
- object_data.parent = document.getElementById("watch-player");
+ object_data.parent = this.get_first_element_by_class("player-root");
}
object_data.linterna_magica_id = linterna_magica_id;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [linterna-magica-commit] [339] Merging r338 from trunk to 0.0.12 branch.,
Ivaylo Valkov <=