Permalink
Browse files

fixed spacing issue for mobile

  • Loading branch information...
sukhada committed Mar 15, 2013
1 parent 7fb747e commit 60c69223ce41c8f7e5a05d3cdc7bda5129d71b7e
Showing with 2 additions and 2 deletions.
  1. +2 −2 reddit.js
View
@@ -124,8 +124,8 @@ function loadPosts() {
localStorage.setItem('counts', counts);
}
}
+ $("#posts").css("display", "block");
if ($(window).width > 704) {
- $("#posts").css("display", "block");
var height = $("li").each(function() {
var height = $(this).outerHeight();
$(this).children("span.upvotes").css("height", (height+15)+'px');
@@ -159,8 +159,8 @@ function frontPage(result) {
}
}
}
+ $("#posts").css("display", "block");
if ($(window).width > 704) {
- $("#posts").css("display", "block");
var height = $("li").each(function() {
var height = $(this).outerHeight();
$(this).children("span.upvotes").css("height", (height+15)+'px');

0 comments on commit 60c6922

Please sign in to comment.