Skip to content
Snippets Groups Projects
Commit 8e72c65c authored by Robert Speicher's avatar Robert Speicher
Browse files

Minor style fixes in MergeRequestTabs

parent ff27747e
No related branches found
No related tags found
1 merge request!838MergeRequest#show performance improvements
Loading
Loading
@@ -18,11 +18,11 @@ class @MergeRequestTabs
action = $target.data('action')
 
# Lazy-load commits
if action == 'commits' and not @commitsLoaded
if action == 'commits' && !@commitsLoaded
@loadCommits()
 
# Lazy-load diffs
if action == 'diffs' and not @diffsLoaded
if action == 'diffs' && !@diffsLoaded
@loadDiff()
 
@setCurrentAction(action)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment