summaryrefslogtreecommitdiffstats
path: root/public/javascripts
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-28 16:42:10 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-28 16:42:10 +0000
commit5565a078f3b34719be38610f8c54bd152147c288 (patch)
tree9c91ea605d7bfd3e2ae45d6fc2757b1fba7724da /public/javascripts
parent7306c733bfb1397f9abb655aacc2116be8ea628c (diff)
downloadredmine-5565a078f3b34719be38610f8c54bd152147c288.tar.gz
redmine-5565a078f3b34719be38610f8c54bd152147c288.zip
Do not scroll to the preview.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10099 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts')
-rw-r--r--public/javascripts/application.js1
1 files changed, 0 insertions, 1 deletions
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);
}
});
}