Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-04-13 15:51:28 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-04-13 15:51:28 +0300
commitc543cd1ed384b7b4f4f45e70e9e028a5db822671 (patch)
treea41944c84f0f4dbbda2de008ac51165eb18c5a73
parent9c14ed0689ba3e667adbcc179793d7d14d776f79 (diff)
Fix performance issue when browse big diffs
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/views/projects/diffs/_diffs.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/diffs/_diffs.html.haml b/app/views/projects/diffs/_diffs.html.haml
index 2b9b6599a7d..b49aee504fe 100644
--- a/app/views/projects/diffs/_diffs.html.haml
+++ b/app/views/projects/diffs/_diffs.html.haml
@@ -20,4 +20,4 @@
Maybe diff is really big and operation failed with timeout. Try to get diff locally
:coffeescript
- $('.files .diff-header').stick_in_parent(recalc_every: 1, offset_top: $('.navbar').height())
+ $('.files .diff-header').stick_in_parent(offset_top: $('.navbar').height())