Line 137: | Line 137: | ||
sec.removeClass('hide'); | sec.removeClass('hide'); | ||
h.removeClass('collapsed'); | h.removeClass('collapsed'); | ||
− | |||
− | |||
− | |||
− | |||
if(!rec){ | if(!rec){ | ||
+ | if(id){ | ||
+ | window.location.hash = '#'+id; | ||
+ | } | ||
+ | |||
sec.parents('.collapser-sec').each(function(){ | sec.parents('.collapser-sec').each(function(){ | ||
var sec = $(this), h = $('#'+sec.attr('id').substr('sec-'.length)); | var sec = $(this), h = $('#'+sec.attr('id').substr('sec-'.length)); |
Revision as of 14:32, 17 October 2016