web/data/cubicweb.rhythm.js
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 04 Jan 2011 16:15:13 +0100
branchstable
changeset 6769 d784d64f28d0
parent 5658 7b9553a9db65
permissions -rw-r--r--
Backed out changeset 84b67ae41a0d: with this fix, some extra ]> appears in the browser. We need to fix the validator instead.

$(document).ready(function() {
    $('a.rhythm').click(function (event){
        $('div#pageContent').toggleClass('rhythm_bg');
        $('div#page').toggleClass('rhythm_bg');
        event.preventDefault();
    });
});