| @@ -78,8 +78,11 @@ | ||
| 78 | 78 | } |
| 79 | 79 | if($group.attr('default-state') === 'open') |
| 80 | 80 | $header.trigger('click'); |
| 81 | 81 | }); |
| 82 | + //260813 Re-scroll to hash targets after accordion groups have opened. | |
| 83 | + if(location.hash && document.getElementById(location.hash.substring(1))) | |
| 84 | + window.setTimeout(function(){ document.getElementById(location.hash.substring(1)).scrollIntoView(); }, 0); | |
| 82 | 85 | $rsToggler.click(function() |
| 83 | 86 | { |
| 84 | 87 | if($rs.hasClass('open')) |
| 85 | 88 | $rsWrapper.hide(), $rs.removeClass('open'); |