summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/diff.js.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/diff.js.coffee')
-rw-r--r--app/assets/javascripts/diff.js.coffee3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/assets/javascripts/diff.js.coffee b/app/assets/javascripts/diff.js.coffee
index 78bb385b5bb..dbe00c487dc 100644
--- a/app/assets/javascripts/diff.js.coffee
+++ b/app/assets/javascripts/diff.js.coffee
@@ -34,8 +34,7 @@ class Diff
$.get(link, params, (response) =>
target.parent().replaceWith(response)
)
- ).ready =>
- $(".diff-header").sticky {responsiveWidth:true, getWidthFrom: ".diff-file"}
+ )
lineNumbers: (line) ->
return ([0, 0]) unless line.children().length