web/data/cubicweb.rhythm.js
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 28 Sep 2010 18:53:45 +0200
branchstable
changeset 6354 73bf870d37d5
parent 5658 7b9553a9db65
permissions -rw-r--r--
[wf component] reversing selectors here may be a huge performance win on big rsets, since EntityVComponent selector starts with one_line_rset

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