diff --git a/airtime_mvc/public/js/airtime/preferences/preferences.js b/airtime_mvc/public/js/airtime/preferences/preferences.js index 25d9e30e1..fe5635faf 100644 --- a/airtime_mvc/public/js/airtime/preferences/preferences.js +++ b/airtime_mvc/public/js/airtime/preferences/preferences.js @@ -1,5 +1,4 @@ function showErrorSections() { - if($("#soundcloud-settings .errors").length > 0) { $("#soundcloud-settings").show(); $(window).scrollTop($("#soundcloud-settings .errors").position().top); @@ -97,6 +96,7 @@ $(document).ready(function() { var json = $.parseJSON(data); $('#content').empty().append(json.html); setTimeout(removeSuccessMsg, 5000); + showErrorSections(); }); });