Skip to content

Commit

Permalink
working version
Browse files Browse the repository at this point in the history
  • Loading branch information
Evangenieur committed Dec 2, 2012
1 parent d325ec0 commit 78a418d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
13 changes: 7 additions & 6 deletions public/javascripts/hvidio.js
Expand Up @@ -168,6 +168,8 @@
$main.addClass('large');

hvidio.templatize('#videosTemplate', { videos: data }, '#results');

hvidio.initScroll();

hvidio.loading(false);

Expand All @@ -194,7 +196,7 @@
$('#up').show();
}
}

console.log(scroll);
if (scroll) {
scroll.refresh();
} else {
Expand Down Expand Up @@ -239,8 +241,8 @@
}, 0);

this.date = this.msgs[0].post_date;

if (var pos = this.embed.indexOf("?")) {
var pos;
if ((pos = this.embed.indexOf("?")) != -1) {
this.embed = this.embed.substr(0, pos);
}

Expand All @@ -249,9 +251,8 @@
$list = $("#video-list")
} else {
var html = hvidio.templatize('#videoTemplate', { video: this });
console.log(html);
$list.append($(html).hide().fadeIn());
console.log($list.html());
$list.append(html);
//$list.append($(html).hide().fadeIn());
hvidio.initScroll();

}
Expand Down
2 changes: 1 addition & 1 deletion public/stylesheets/style.css
Expand Up @@ -50,7 +50,7 @@ p.tagline {
top: 0;
left: 0;
width: 100%;
height: 96%;
height: 85%;
z-index: 1;
}
#main {
Expand Down
2 changes: 1 addition & 1 deletion public/stylesheets/style.less
Expand Up @@ -75,7 +75,7 @@ p.tagline {
top: 0;
left: 0;
width: 100%;
height: 96%;
height: 85%;
z-index: 1;
}

Expand Down

0 comments on commit 78a418d

Please sign in to comment.