equal
deleted
inserted
replaced
80 { |
80 { |
81 var child = children[i]; |
81 var child = children[i]; |
82 if ( child.tagName == 'LEGEND' ) |
82 if ( child.tagName == 'LEGEND' ) |
83 { |
83 { |
84 var a = child.getElementsByTagName('a')[0]; |
84 var a = child.getElementsByTagName('a')[0]; |
85 $(a).rmClass('expander-open'); |
85 $dynano(a).rmClass('expander-open'); |
86 $(a).addClass('expander-closed'); |
86 $dynano(a).addClass('expander-closed'); |
87 continue; |
87 continue; |
88 } |
88 } |
89 if ( child.style ) |
89 if ( child.style ) |
90 { |
90 { |
91 child.expander_meta_old_state = child.style.display; |
91 child.expander_meta_old_state = child.style.display; |
103 { |
103 { |
104 var child = children[i]; |
104 var child = children[i]; |
105 if ( child.tagName == 'LEGEND' ) |
105 if ( child.tagName == 'LEGEND' ) |
106 { |
106 { |
107 var a = child.getElementsByTagName('a')[0]; |
107 var a = child.getElementsByTagName('a')[0]; |
108 $(a).rmClass('expander-closed'); |
108 $dynano(a).rmClass('expander-closed'); |
109 $(a).addClass('expander-open'); |
109 $dynano(a).addClass('expander-open'); |
110 continue; |
110 continue; |
111 } |
111 } |
112 if ( child.expander_meta_old_state && child.style ) |
112 if ( child.expander_meta_old_state && child.style ) |
113 { |
113 { |
114 child.style.display = child.expander_meta_old_state; |
114 child.style.display = child.expander_meta_old_state; |