Permalink
Browse files

working version

  • Loading branch information...
1 parent d325ec0 commit 78a418d8a4e819b4659e26facfb89468307f0c55 @Evangenieur committed Dec 2, 2012
Showing with 9 additions and 8 deletions.
  1. +7 −6 public/javascripts/hvidio.js
  2. +1 −1 public/stylesheets/style.css
  3. +1 −1 public/stylesheets/style.less
@@ -168,6 +168,8 @@
$main.addClass('large');
hvidio.templatize('#videosTemplate', { videos: data }, '#results');
+
+ hvidio.initScroll();
hvidio.loading(false);
@@ -194,7 +196,7 @@
$('#up').show();
}
}
-
+ console.log(scroll);
if (scroll) {
scroll.refresh();
} else {
@@ -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);
}
@@ -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();
}
@@ -50,7 +50,7 @@ p.tagline {
top: 0;
left: 0;
width: 100%;
- height: 96%;
+ height: 85%;
z-index: 1;
}
#main {
@@ -75,7 +75,7 @@ p.tagline {
top: 0;
left: 0;
width: 100%;
- height: 96%;
+ height: 85%;
z-index: 1;
}

0 comments on commit 78a418d

Please sign in to comment.