Commit ebceae3e authored by Alfredo Sumaran's avatar Alfredo Sumaran

Add comment

parent a2b0e86a
......@@ -180,6 +180,8 @@ class @MergeRequestTabs
$.ajax(options)
diffViewMode: ->
# Gets diff view mode based from its ID
# See diff_btn helper method
btnID = $('a[id$="-diff-btn"].active').attr('id')
btnID.substr(0, btnID.indexOf('-'))
......
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