summaryrefslogtreecommitdiffstats
path: root/script.js
blob: c1434772e50c07e5556ab4118ac29773d30eb398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$(function(){


    $('div.d').click(function (e) {
        if (e.target !== this) return;
        $(this).toggleClass('hide');
        e.preventDefault();
        e.stopPropagation();
    });

    $('span.params, span.return').click(function (e) {
        if (e.target !== this) return;
        $(this).toggleClass('short');
        e.preventDefault();
        e.stopPropagation();
    });

    $('#internal').change(function(){
        $('div.i').toggle();
    });
});