Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[fix bug 1122462] Download Firefox homepage promo missing small links
  • Loading branch information
alexgibson committed Jan 16, 2015
1 parent c6d0a3d commit 9e35025
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 8 additions & 0 deletions media/css/mozorg/home/home-promo.less
Expand Up @@ -583,6 +583,10 @@ html[lang|="en"] {
a:focus {
color: #fff;
}

&.download-other-desktop {
display: block !important;
}
}

.unsupported-download {
Expand Down Expand Up @@ -677,6 +681,10 @@ html[lang|="en"] {
.fxos-link {
display: inline-block;
}

.download-other.download-other-desktop {
display: none !important;
}
}
}

Expand Down
6 changes: 0 additions & 6 deletions media/js/mozorg/home/home.js
Expand Up @@ -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
*/
Expand Down Expand Up @@ -196,7 +191,6 @@ $(function () {
}
}

initFirefoxDownloadPromo();
initEllipsis();
initFacesGrid();

Expand Down

0 comments on commit 9e35025

Please sign in to comment.