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

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

[linterna-magica-commit] [63] Proper fix for bugs #33303.


From: Ivaylo Valkov
Subject: [linterna-magica-commit] [63] Proper fix for bugs #33303.
Date: Fri, 13 May 2011 09:42:09 +0000

Revision: 63
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=63
Author:   valkov
Date:     2011-05-13 09:42:08 +0000 (Fri, 13 May 2011)
Log Message:
-----------
Proper fix for bugs #33303. Must use the wrapper p element, instead of the 
anchor.

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

Modified Paths:
--------------
    branches/0.0.9/src/lm_detect_object_in_remote_site.js

Modified: branches/0.0.9/src/lm_detect_object_in_remote_site.js
===================================================================
--- branches/0.0.9/src/lm_detect_object_in_remote_site.js       2011-05-13 
09:34:34 UTC (rev 62)
+++ branches/0.0.9/src/lm_detect_object_in_remote_site.js       2011-05-13 
09:42:08 UTC (rev 63)
@@ -151,9 +151,6 @@
     a.textContent = "Linterna Mágica >>";
     a.setAttribute("class", "linterna-magica-toggle-plugin");
 
-    // See https://savannah.nongnu.org/bugs/?33303
-    a.style.setProperty("margin-bottom", "50px", "important");
-
     a.setAttribute("href", object_data.remote_site_link);
     a.setAttribute("title", _("Watch this video at it's original"+
                              " site with Linterna Mágica"));
@@ -161,6 +158,8 @@
     p.appendChild(a);
     p.style.setProperty("position", "relative", "important");
     p.style.setProperty("z-index", "99999", "important");
+    // See https://savannah.nongnu.org/bugs/?33303
+    p.style.setProperty("margin-bottom", "50px", "important");
 
     return p;
 }




reply via email to

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