We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66d5a69 commit b0ae1afCopy full SHA for b0ae1af
index.php
@@ -162,8 +162,6 @@ class="login button">Login →</a>
162
// Hides the notification
163
$("#count-bar").addClass("hidden");
164
165
- $("#photos").find('.loading').hide(400).delay(400).remove();
166
-
167
$.getJSON(
168
'https://api.instagram.com/v1/tags/<?=$tag?>/media/recent?callback=?',
169
{
@@ -176,7 +174,10 @@ class="login button">Login →</a>
176
174
var new_photos = response.data,
177
175
pagination = response.pagination,
178
delay = 0,
179
- anim_speed = 200;
+ anim_speed = 200;
+
+ // Removes the loading LI if present
180
+ $("#photos").find('.loading').hide(400).delay(400).remove();
181
182
// Resets the new photo count
183
newcount = 0;
0 commit comments