web/data/cubicweb.rhythm.js
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Thu, 27 Jan 2011 14:10:44 +0100
branchstable
changeset 6908 f07dc0e8948d
parent 5658 7b9553a9db65
permissions -rw-r--r--
fix #1452413 : is_in_state selector does not match initial state of an entity

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