From: Jean-Philippe Lang Date: Sat, 28 Jul 2012 16:42:10 +0000 (+0000) Subject: Do not scroll to the preview. X-Git-Tag: 2.1.0~224 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5565a078f3b34719be38610f8c54bd152147c288;p=redmine.git Do not scroll to the preview. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10099 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 0746817f4..42fb945ad 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -303,7 +303,6 @@ function submitPreview(url, form, target) { data: $('#'+form).serialize(), success: function(data){ $('#'+target).html(data); - $('html, body').animate({scrollTop: $('#'+target).offset().top}, 100); } }); }