[Pkg-mozext-commits] [wot] 73/226: fixed #30 A bit broken WS on twitter's accounts with poor reputation

David Prévot taffit at moszumanska.debian.org
Fri May 1 00:35:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository wot.

commit 27d9e3f6046dc161c879095d6c9159ec35848ef0
Author: Sergey Andryukhin <sorgoz at yandex.com>
Date:   Tue Mar 26 12:51:21 2013 +0200

    fixed #30 A bit broken WS on twitter's accounts with poor reputation
---
 content/popup.js         | 4 ++--
 content/warning.js       | 2 +-
 skin/include/blocked.css | 4 ++--
 skin/include/popup.css   | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/content/popup.js b/content/popup.js
index 553ad8f..2bc33a9 100644
--- a/content/popup.js
+++ b/content/popup.js
@@ -20,7 +20,7 @@
 
 const WOT_POPUP_LAYER =
 	"<div id=\"wot-logo\"></div>" +
-	"<div id=\"wot-ratings-ID\" class=\"wot-ratings\">" +
+	"<div id=\"wot-popup-ratings-ID\" class=\"wot-popup-ratings\">" +
 		"<div id=\"wot-r0-stack-ID\" class=\"wot-stack\">" +
 			"<div id=\"wot-r0-header-ID\" class=\"wot-header\">WOT_POPUP_TEXT_0</div>" +
 			"<div id=\"wot-r0-rep-ID\" class=\"wot-rep\"></div>" +
@@ -261,7 +261,7 @@ var wot_popup =
 				wot_popup.offsetheight -= wot_popup.ratingheight;
 			}
 			bottom.style.borderBottom = "0";
-			content.getElementById("wot-ratings" +
+			content.getElementById("wot-popup-ratings" +
 				this.postfix).style.height =
 				wot_popup.offsetheight + wot_popup.areaheight + "px";
 			return true;
diff --git a/content/warning.js b/content/warning.js
index c1eb7fd..c77f3fa 100644
--- a/content/warning.js
+++ b/content/warning.js
@@ -36,7 +36,7 @@ var wot_warning =
 			"<div class='wot-openscorecard-wrap'>" +
 			"<span id='wotinfobutton' class='wot-openscorecard wot-link'>{INFO}</span>" +
 			"</div>" +
-			"<div id='wot-ratings'>";
+			"<div id='wot-ws-ratings'>";
 
 		for(var c=0; c < WOT_APPLICATIONS; c++) {
 
diff --git a/skin/include/blocked.css b/skin/include/blocked.css
index 20c5af5..7651040 100644
--- a/skin/include/blocked.css
+++ b/skin/include/blocked.css
@@ -157,12 +157,12 @@
 }
 
 /* Section of ratings */
-#wot-ratings {
+#wot-ws-ratings {
     width: 63% !important;
     margin: 0.5em auto !important;
 }
 
-#wotcontainer.wotnoratings #wot-ratings {
+#wotcontainer.wotnoratings #wot-ws-ratings {
     display: none !important;
 }
 
diff --git a/skin/include/popup.css b/skin/include/popup.css
index f57e817..89b465d 100644
--- a/skin/include/popup.css
+++ b/skin/include/popup.css
@@ -17,7 +17,7 @@
 .accessible #wot-logo {
 	background: url("chrome://wot/skin/fusion/accessible/popup-logo.png") top left no-repeat;
 }
-#wot-ratings, .wot-ratings {
+#wot-popup-ratings, .wot-popup-ratings {
 	background: url("chrome://wot/skin/fusion/popup.png") bottom left no-repeat;
 	display: block;
 	height: 214px;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/wot.git



More information about the Pkg-mozext-commits mailing list