Permalink
Browse files

[fix bug 1122462] Download Firefox homepage promo missing small links

  • Loading branch information...
1 parent c6d0a3d commit 9e350257d745c5f32903693faf0adb73b704d7a4 @alexgibson alexgibson committed Jan 16, 2015
Showing with 8 additions and 6 deletions.
  1. +8 −0 media/css/mozorg/home/home-promo.less
  2. +0 −6 media/js/mozorg/home/home.js
@@ -583,6 +583,10 @@ html[lang|="en"] {
a:focus {
color: #fff;
}
+
+ &.download-other-desktop {
+ display: block !important;
+ }
}
.unsupported-download {
@@ -677,6 +681,10 @@ html[lang|="en"] {
.fxos-link {
display: inline-block;
}
+
+ .download-other.download-other-desktop {
+ display: none !important;
+ }
}
}
@@ -10,11 +10,6 @@ $(function () {
var $downloadPromo = $('.promo-small-landscape.firefox-download');
var hasTouch = 'ontouchstart' in window || navigator.msMaxTouchPoints || navigator.maxTouchPoints;
- function initFirefoxDownloadPromo() {
- // show download button small links
- $downloadPromo.find('.download-other-desktop').show();
- }
-
/*
* For non-touch devices promos are transitioned on hover
*/
@@ -196,7 +191,6 @@ $(function () {
}
}
- initFirefoxDownloadPromo();
initEllipsis();
initFacesGrid();

0 comments on commit 9e35025

Please sign in to comment.