From 2fce2408134f8ba28bf6f42efa10abe41b9156cf Mon Sep 17 00:00:00 2001 From: Rafael Reggiani Manzo Date: Fri, 12 Jun 2015 11:55:50 -0300 Subject: [PATCH] Better variable name for Repository.Branch fetch var --- app/assets/javascripts/repository/branch.js.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/repository/branch.js.coffee b/app/assets/javascripts/repository/branch.js.coffee index 634c565..3dc373d 100644 --- a/app/assets/javascripts/repository/branch.js.coffee +++ b/app/assets/javascripts/repository/branch.js.coffee @@ -37,11 +37,11 @@ class Repository.Branch if address == "" return - el = $("#repository_branch") - el.empty() # remove old options + branches_select_box = $("#repository_branch") + branches_select_box.empty() # remove old options if @names[address]? - @fill_options(@names[address], el) + @fill_options(@names[address], branches_select_box) return scm_type = $("#repository_scm_type").val() @@ -54,4 +54,4 @@ class Repository.Branch options = data["branches"] if options != null context.names[address] = options - context.fill_options(options, el) + context.fill_options(options, branches_select_box) -- libgit2 0.21.2