summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-18 09:49:44 +0000
committerPhil Hughes <me@iamphill.com>2016-03-18 09:49:44 +0000
commitfa6fae18a95656c0f300fff86214ad62626131b2 (patch)
treec2acce0fcfa784252c64a0d4aa7516b1efc1fa4a
parent72830aa8095bffeb844c71d5b202a1b1b9213eb8 (diff)
downloadgitlab-ce-fa6fae18a95656c0f300fff86214ad62626131b2.tar.gz
Changed any variable name to save confusion
-rw-r--r--app/assets/javascripts/milestone_select.js.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/milestone_select.js.coffee b/app/assets/javascripts/milestone_select.js.coffee
index 86b806f53a3..32159a7c179 100644
--- a/app/assets/javascripts/milestone_select.js.coffee
+++ b/app/assets/javascripts/milestone_select.js.coffee
@@ -30,7 +30,7 @@ class @MilestoneSelect
if showAny
data.unshift(
- any: true
+ isAny: true
title: 'Any Milestone'
)
@@ -47,7 +47,7 @@ class @MilestoneSelect
milestone.title
id: (milestone) ->
if !useId
- if !milestone.any?
+ if !milestone.isAny?
milestone.title
else
""