mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Theme: Scroll to top before opening Domain Selector (fixes offset bug).
This commit is contained in:
@@ -1430,7 +1430,8 @@
|
||||
$(".navbar").css('margin-right',scrollbar_width); //adjust navbar margin to compensate
|
||||
$("#domains_container").css('right',-scrollbar_width); //domain container right position to compensate
|
||||
}
|
||||
$("#domains_container").css({top: $(document).scrollTop(), height: window.innerHeight}).show();
|
||||
$('body').scrollTop();
|
||||
$("#domains_container").show();
|
||||
$("#domains_block").animate({marginRight: '+=300'}, 400);
|
||||
$("#domain_filter").focus();
|
||||
document.getElementById('domains_visible').value = 1;
|
||||
|
||||
Reference in New Issue
Block a user