From 5565a078f3b34719be38610f8c54bd152147c288 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 28 Jul 2012 16:42:10 +0000 Subject: [PATCH] Do not scroll to the preview. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10099 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/javascripts/application.js | 1 - 1 file changed, 1 deletion(-) 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); } }); }