review/web_media/ui.js @ 475b1a886645 webui

open the web browser when doing the web thingy.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Sat, 06 Feb 2010 12:38:57 +0100
parents c5debb475273
children (none)
$(function() {
    
    $("a.fold-file").toggle(function(event) {
        $(event.target).closest("div.file-review").find("div.file-review-contents").slideUp("fast");
        $(event.target).html("&nbsp;&nbsp;&nbsp;&larr;").addClass("unfold-file").removeClass("fold-file");
        return false;
    },
    function(event) {
        $(event.target).closest("div.file-review").find("div.file-review-contents").slideDown("fast");
        $(event.target).html("&nbsp;&nbsp;&nbsp;&darr;").addClass("fold-file").removeClass("unfold-file");
        return false;
    });

});