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

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

[linterna-magica-commit] [325] Changes to the code merged in r324 from r


From: Ivaylo Valkov
Subject: [linterna-magica-commit] [325] Changes to the code merged in r324 from r323 (trunk) to fix bugs
Date: Sun, 04 Nov 2012 06:44:47 +0000

Revision: 325
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=325
Author:   valkov
Date:     2012-11-04 06:44:45 +0000 (Sun, 04 Nov 2012)
Log Message:
-----------
Changes to the code merged in r324 from r323 (trunk) to fix bugs
#37630. A function available only in trunk was used.

Revision Links:
--------------
    http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=324
    http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=323

Ticket Links:
------------
    http://savannah.gnu.org/bugs/?37630

Modified Paths:
--------------
    branches/0.0.12/src/lm_site_youtube.js

Modified: branches/0.0.12/src/lm_site_youtube.js
===================================================================
--- branches/0.0.12/src/lm_site_youtube.js      2012-11-03 14:42:25 UTC (rev 
324)
+++ branches/0.0.12/src/lm_site_youtube.js      2012-11-04 06:44:45 UTC (rev 
325)
@@ -612,11 +612,19 @@
            // https://savannah.nongnu.org/bugs/index.php?37630
            if (this.priority.html5 > this.priority.self)
            {
+               console.log("in");
                // It should be available, because it is used above in
                // this function
                id = id ? id : object_data.linterna_magica_id;
 
-               this.show_lm_interface(object_data.linterna_magica_id);
+               var lm = document.getElementById("linterna-magica-"+id);
+
+               if (!lm)
+               {
+                   return null;
+               }
+
+               lm.style.removeProperty("display");
            
                // It should be available, because it is used above in
                // this functon.




reply via email to

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