File tree Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Original file line number Diff line number Diff line change
1
+ [submodule "js/isotope "]
2
+ path = js/isotope
3
+ url = https://github.com/desandro/isotope.git
Original file line number Diff line number Diff line change 8
8
}
9
9
10
10
header , article , footer {
11
- width : 700px ;
11
+ max- width: 700px ;
12
12
margin : 0 auto;
13
13
padding : 20px 40px 0 ;
14
14
background : # fff ;
Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ class="login button">Login →</a>
139
139
140
140
<script src="http://code.jquery.com/jquery-2.0.0.min.js"></script>
141
141
<script src="http://js.pusher.com/2.0/pusher.min.js"></script>
142
+ <script src="js/isotope/jquery.isotope.min.js"></script>
142
143
<script>
143
144
144
145
jQuery(function($){
@@ -157,6 +158,10 @@ class="login button">Login →</a>
157
158
photos = $('photos'),
158
159
min_ID = photos.data('next-min-ID');
159
160
161
+ photos.isotope({
162
+ itemSelector: 'li'
163
+ });
164
+
160
165
channel.bind('new-photo', function(data){
161
166
162
167
newcount += data.newcount;
You can’t perform that action at this time.
0 commit comments