Commit 83630167 authored by Alfredo Sumaran's avatar Alfredo Sumaran Committed by Jacob Schatz

Use existence operator instead

parent fe0aa823
...@@ -73,7 +73,7 @@ class @MergeRequestTabs ...@@ -73,7 +73,7 @@ class @MergeRequestTabs
@expandView() @expandView()
else if action == 'diffs' else if action == 'diffs'
@loadDiff($target.attr('href')) @loadDiff($target.attr('href'))
if window.bp isnt undefined and window.bp.getBreakpointSize() isnt 'lg' if bp? and bp.getBreakpointSize() isnt 'lg'
@shrinkView() @shrinkView()
else if action == 'builds' else if action == 'builds'
@loadBuilds($target.attr('href')) @loadBuilds($target.attr('href'))
......
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