mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-19 09:36:47 +10:00
Minor style fixes in MergeRequestTabs
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user