web/data/cubicweb.rhythm.js
author Rémi Cardona <remi.cardona@logilab.fr>
Mon, 02 Jun 2014 12:23:18 +0200
branchstable
changeset 9869 e2f96b16c3bd
parent 5658 7b9553a9db65
permissions -rw-r--r--
[views] a 'div' with 'display: inline' screams 'span' (grafted from af6e3db801fcfbd6f562c4a7cfdc89f187042792)

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