11
11
item.getElement( '.expand_revisioninfo' ).addEvent( 'click', function()
14
if(longDescription.style.display == 'none')
16
16
longDescription.style.display = 'block';
17
17
shortDescription.style.display = 'none';
18
expand_icon.src = expand_icon.alt;
18
expand_icon.set('src', expand_icon.alt);
22
22
longDescription.style.display = 'none';
23
23
shortDescription.style.display = 'block';
24
expand_icon.src = expand_icon.title;
24
expand_icon.set('src', expand_icon.title);
29
$$('.diff').each(function(item, i)
29
$$('.diffBox').each(function(item, i)
31
31
// FIXME: Make less redundant
32
var expander = new Fx.Slide( item.getElement( '.diffinfo' ), { duration: 200 } );
33
var expand_icon = item.getElement( '.expand_icon' );
32
var expander = new Fx.Slide( item.getNext( '.diffinfo' ), { duration: 200 } );
33
var expand_icon = item.getElement( '.expand_diff' );
34
34
item.getElement( '.expand_diff' ).addEvent( 'click', function()
37
/*if(longDescription.style.display == 'none')
39
expand_icon.src = expand_icon.alt;
39
expand_icon.set = ('src', expand_icon.alt);
43
expand_icon.src = expand_icon.title;
43
expand_icon.set = ('src', expand_icon.title);