diff --git a/airtime_mvc/public/js/airtime/preferences/streamsetting.js b/airtime_mvc/public/js/airtime/preferences/streamsetting.js index bf29514c2..277d1e34a 100644 --- a/airtime_mvc/public/js/airtime/preferences/streamsetting.js +++ b/airtime_mvc/public/js/airtime/preferences/streamsetting.js @@ -2,9 +2,12 @@ function showErrorSections() { $(".errors").each(function(i){ if($(this).length > 0){ - $(window).scrollTop($(this).closest("div").position().top); - $(this).closest("fieldset").removeClass('closed'); - return false; + var div = $(this).closest("div") + if(div.attr('class') == "stream-setting-content"){ + $(this).closest("div").show(); + $(this).closest("fieldset").removeClass('closed'); + $(window).scrollTop($(this).closest("div").position().top); + } } }); }