web/data/cubicweb.rhythm.js
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 25 Apr 2013 16:10:56 +0200
changeset 8928 f5b40b66d36e
parent 5658 7b9553a9db65
permissions -rw-r--r--
[notification] introduce an official `notify_on_commit` function It provides a proper notification api instead of replacing it by yet another clumsy one. Closes #2837251

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