summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2014-08-20 18:11:51 +0200
committerRobert Schilling <rschilling@student.tugraz.at>2014-08-20 18:11:51 +0200
commit64102476dcadd4ff943dfb27adedea6497456c71 (patch)
treeeb336755d8e28e26524e2eb44f9eb104f60a0b02
parent87efd92d8cc378697359012226d2679cab7e1e9e (diff)
downloadgitlab-ce-64102476dcadd4ff943dfb27adedea6497456c71.tar.gz
Call updateColorPreview in Labels constructor
-rw-r--r--app/assets/javascripts/labels.js.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/labels.js.coffee b/app/assets/javascripts/labels.js.coffee
index 8e53d6929df..d306ad64f5b 100644
--- a/app/assets/javascripts/labels.js.coffee
+++ b/app/assets/javascripts/labels.js.coffee
@@ -4,7 +4,7 @@ class Labels
@setupLabelForm(form)
@cleanBinding()
@addBinding()
- @updateColorPreview
+ @updateColorPreview()
addBinding: ->
$(document).on 'click', '.suggest-colors a', @setSuggestedColor