Minor style fixes in MergeRequestTabs

This commit is contained in:
Robert Speicher 2015-06-21 18:57:04 -04:00
parent ff27747ec7
commit 8e72c65cda
1 changed files with 2 additions and 2 deletions

View File

@ -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)