equal
deleted
inserted
replaced
68 var toggler = el.getElementsByTagName('a')[0]; |
68 var toggler = el.getElementsByTagName('a')[0]; |
69 if ( !toggler ) |
69 if ( !toggler ) |
70 continue; |
70 continue; |
71 toggler.onclick = function() |
71 toggler.onclick = function() |
72 { |
72 { |
73 load_component('jquery'); |
73 load_component(['jquery', 'jquery-ui']); |
74 load_component('jquery-ui'); |
|
75 |
74 |
76 var mydiv = this.parentNode.nextSibling; |
75 var mydiv = this.parentNode.nextSibling; |
77 while ( mydiv.tagName != 'DIV' ) |
76 while ( mydiv.tagName != 'DIV' ) |
78 mydiv = mydiv.nextSibling; |
77 mydiv = mydiv.nextSibling; |
79 if ( mydiv.style.display == 'none' ) |
78 if ( mydiv.style.display == 'none' ) |