CC-2899: Error on stream setting page can be hidden by a collapsed section

- fixed
This commit is contained in:
James 2011-09-29 12:03:11 -04:00
parent 1c652b6416
commit bd4c9f9651
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@ function showErrorSections() {
$(".errors").each(function(i){
if($(this).length > 0){
// -250 is due to static panel on the top
$(window).scrollTop($(this).closest("div").position().top-250);
$(window).scrollTop($(this).closest("div").position().top);
$(this).closest("fieldset").removeClass('closed');
return false;
}
});