BigW Consortium Gitlab

Commit ebceae3e by Alfredo Sumaran

Add comment

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