Browse files

Artist#start: Fill boxes with photos

  • Loading branch information...
1 parent 2b77565 commit fc37cfa7e4d7c58e14dde4f1b077d5e906cb79c9 @kana committed Apr 18, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 public/javascripts/metastagram.js
View
8 public/javascripts/metastagram.js
@@ -33,6 +33,14 @@ var Metastagram = (function ($) {
dummyQuery,
this.options.hotBoxes.length + this.options.normalBoxes.length,
function () {
+ var fillWithPhotos = function (boxes) {
+ boxes.each(function () {
+ _this.refresh($(this));
+ });
+ };
+ fillWithPhotos(_this.options.hotBoxes);
+ fillWithPhotos(_this.options.normalBoxes);
+
if (!_this.explorationTimer) {
_this.explorationTimer = setInterval(
function () {

0 comments on commit fc37cfa

Please sign in to comment.