diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-02 16:41:02 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-02 16:41:57 +0300 |
commit | c0e614d1c46cd273f83385ef61c76200d492d0a4 (patch) | |
tree | 75bb038cd5e2cd685dbea23c74980ce2cd274f26 /app/views/projects/tags | |
parent | d0166334ba9997b5eed89d6f54c99f7bfbe9c816 (diff) |
Rename variable
Diffstat (limited to 'app/views/projects/tags')
-rw-r--r-- | app/views/projects/tags/new.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/tags/new.html.haml b/app/views/projects/tags/new.html.haml index 58d2e5c7136..9c9bfa3f55f 100644 --- a/app/views/projects/tags/new.html.haml +++ b/app/views/projects/tags/new.html.haml @@ -38,9 +38,9 @@ = link_to 'Cancel', namespace_project_tags_path(@project.namespace, @project), class: 'btn btn-cancel' :javascript - var availableTags = #{@project.repository.ref_names.to_json}; + var availableRefs = #{@project.repository.ref_names.to_json}; $("#ref").autocomplete({ - source: availableTags, + source: availableRefs, minLength: 1 }); |