diff --git a/public/javascripts/hvidio.js b/public/javascripts/hvidio.js index 9455c32..75dce29 100644 --- a/public/javascripts/hvidio.js +++ b/public/javascripts/hvidio.js @@ -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(); } diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 8ff4f15..a8b4feb 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -50,7 +50,7 @@ p.tagline { top: 0; left: 0; width: 100%; - height: 96%; + height: 85%; z-index: 1; } #main { diff --git a/public/stylesheets/style.less b/public/stylesheets/style.less index 790440f..87798ce 100644 --- a/public/stylesheets/style.less +++ b/public/stylesheets/style.less @@ -75,7 +75,7 @@ p.tagline { top: 0; left: 0; width: 100%; - height: 96%; + height: 85%; z-index: 1; }