Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

Make Mobile Firefox more prominent on mobile layouts #20

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions js/nightly.js
Expand Up @@ -7,4 +7,13 @@ $().ready(function() {
});
$(this).children('h3').height($(this).children('ul').height() - 20);
});

// Place the link to download mobile version higher on smaller screens
$(window).resize(function(){
if ($(window).width() <= 800){
$('#Mobile').insertBefore('#Desktop');
} else if ($(window).width() > 800) {
$('#Desktop').insertBefore('#Mobile');
}
});
});