Revision 28a495a8
Added by Andreas Kohlbecker almost 8 years ago
modules/cdm_dataportal/js/jquery.cdm.taxonomic_children.js | ||
---|---|---|
194 | 194 |
this.removeClass(this.options.hoverClass); |
195 | 195 |
} |
196 | 196 |
); |
197 |
|
|
197 |
|
|
198 | 198 |
plugin.container.mouseleave(function (){ |
199 | 199 |
plugin.hideChildren.call(plugin); |
200 | 200 |
}); |
201 |
|
|
202 |
$(document).click(function (){ |
|
203 |
plugin.hideChildren.call(plugin); |
|
204 |
}); |
|
205 |
|
|
201 | 206 |
}, |
202 | 207 |
|
203 | 208 |
// Unbind events that trigger methods |
Also available in: Unified diff
#5852 hide the children also on clicks out site of the list (for mobile devices)