Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixed spacing issue for mobile

  • Loading branch information...
commit 60c69223ce41c8f7e5a05d3cdc7bda5129d71b7e 1 parent 7fb747e
Sukhada Kulkarni authored March 15, 2013

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  reddit.js
4  reddit.js
@@ -124,8 +124,8 @@ function loadPosts() {
124 124
 			localStorage.setItem('counts', counts);						
125 125
 		}
126 126
   }
  127
+  $("#posts").css("display", "block");    
127 128
   if ($(window).width > 704) {
128  
-    $("#posts").css("display", "block");    
129 129
     var height = $("li").each(function() {
130 130
       var height = $(this).outerHeight();
131 131
       $(this).children("span.upvotes").css("height", (height+15)+'px');    
@@ -159,8 +159,8 @@ function frontPage(result) {
159 159
       }  
160 160
     }
161 161
   }
  162
+  $("#posts").css("display", "block");    
162 163
   if ($(window).width > 704) {
163  
-    $("#posts").css("display", "block");    
164 164
     var height = $("li").each(function() {
165 165
       var height = $(this).outerHeight();
166 166
       $(this).children("span.upvotes").css("height", (height+15)+'px');    

0 notes on commit 60c6922

Please sign in to comment.
Something went wrong with that request. Please try again.