You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by er...@apache.org on 2012/09/09 13:39:43 UTC
svn commit: r1382460 -
/incubator/flex/site/trunk/content/flex/installerbadge/index.chtml
Author: erikdebruin
Date: Sun Sep 9 11:39:43 2012
New Revision: 1382460
URL: http://svn.apache.org/viewvc?rev=1382460&view=rev
Log:
Minor update to fix sizing problem on the small version of the badge.
Modified:
incubator/flex/site/trunk/content/flex/installerbadge/index.chtml
Modified: incubator/flex/site/trunk/content/flex/installerbadge/index.chtml
URL: http://svn.apache.org/viewvc/incubator/flex/site/trunk/content/flex/installerbadge/index.chtml?rev=1382460&r1=1382459&r2=1382460&view=diff
==============================================================================
--- incubator/flex/site/trunk/content/flex/installerbadge/index.chtml (original)
+++ incubator/flex/site/trunk/content/flex/installerbadge/index.chtml Sun Sep 9 11:39:43 2012
@@ -34,8 +34,6 @@
function init() {
var prefix, theElement, theHeight, theWidth, widget;
- console.log("HERE '" + displayType() + "'");
-
if (displayType() != "") {
if (typeof window.innerWidth === 'number') {
theHeight = window.innerHeight;
@@ -48,6 +46,9 @@
}
widget = document.getElementById("InstallApacheFlexBadge");
+
+ console.log("HERE '" + widget + "'");
+
widget.style.height = (theHeight - 2) + "px";
widget.style.width = (theWidth - 2) + "px";