linterna-magica-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linterna-magica-commit] [167] Fix the marking of the replacement video


From: Ivaylo Valkov
Subject: [linterna-magica-commit] [167] Fix the marking of the replacement video object.
Date: Fri, 29 Jul 2011 07:56:50 +0000

Revision: 167
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=167
Author:   valkov
Date:     2011-07-29 07:56:49 +0000 (Fri, 29 Jul 2011)
Log Message:
-----------
Fix the marking of the replacement video object. The float 0.0 equals integer 
0. Same goes for every other number. That is not waht we want.

Modified Paths:
--------------
    trunk/src/lm_create_video_object.js

Modified: trunk/src/lm_create_video_object.js
===================================================================
--- trunk/src/lm_create_video_object.js 2011-07-29 07:25:48 UTC (rev 166)
+++ trunk/src/lm_create_video_object.js 2011-07-29 07:56:49 UTC (rev 167)
@@ -307,8 +307,8 @@
     // that might not be a good idea (object count, XHRs, duplicate
     // objects ... ). The linterna_magica_id property is set ot a
     // float, so it is not the same as the one of the flash object.
-    object_tag.linterna_magica_id = parseFloat(object_data.linterna_magica_id+
-                                              
"."+object_data.linterna_magica_id);
+    object_tag.linterna_magica_id =
+       parseFloat(object_data.linterna_magica_id+".1");
 
     // Add link after the object/embed
     // this.set_priority() has set this.priority




reply via email to

[Prev in Thread] Current Thread [Next in Thread]