Commit 40398d56 authored by Paco Guzman's avatar Paco Guzman

Apply filesCommentButton to loaded Diffs through AJAX

parent 0cf7a920
......@@ -163,6 +163,7 @@ class @MergeRequestTabs
@diffsLoaded = true
@scrollToElement("#diffs")
@highlighSelectedLine()
@filesCommentButton = new FilesCommentButton($('.files'))
$(document)
.off 'click', '.diff-line-num a'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment