Revision c084fb48
Added by Andreas Kohlbecker over 7 years ago
modules/cdm_dataportal/js/jquery.cdm.taxonomic_children.js | ||
---|---|---|
334 | 334 |
if(scrollTarget){ |
335 | 335 |
var position = scrollTarget.position(); |
336 | 336 |
if(position == undefined){ |
337 |
// fix for IE >= 9 |
|
337 |
// fix for IE >= 9 and Edge
|
|
338 | 338 |
position = scrollTarget.offset(); |
339 | 339 |
} |
340 | 340 |
var scroll_target_offset_top = position.top; |
Also available in: Unified diff
fixing jQuery incompatibility IE >= 9 and Edge