now sarahmei can watch revolution OS too! will write tests soon

This commit is contained in:
Dan Hansen 2011-02-14 23:59:03 -06:00
parent 54feaca998
commit 42fd9a19da

View file

@ -24,7 +24,7 @@
var service = $this.data("host"), var service = $this.data("host"),
container = document.createElement("div"), container = document.createElement("div"),
$container = $(container).attr("class", "video-container"), $container = $(container).attr("class", "video-container"),
$videoContainer = $this.parent().siblings(".video-container"); $videoContainer = $this.siblings(".video-container");
if($videoContainer.length) { if($videoContainer.length) {
$videoContainer.slideUp("fast", function() { $(this).detach(); }); $videoContainer.slideUp("fast", function() { $(this).detach(); });
@ -40,7 +40,7 @@
); );
$container.hide() $container.hide()
.insertBefore($this.parent().siblings(".info")) .insertBefore($this.siblings(".info"))
.slideDown('fast'); .slideDown('fast');
$this.click(function() { $this.click(function() {