From 01981803ee20ab3a8a4bc56e91933efb4c645251 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Fri, 31 May 2013 17:38:25 +0400 Subject: [PATCH] #114: fixed JS for FF --- app/assets/javascripts/extra/build_list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/extra/build_list.js b/app/assets/javascripts/extra/build_list.js index 5547ae748..ab7ac4784 100644 --- a/app/assets/javascripts/extra/build_list.js +++ b/app/assets/javascripts/extra/build_list.js @@ -55,7 +55,7 @@ $(document).ready(function() { }); $(document).on('click', '#extra-repos .delete, #extra-repos-dialog .delete', function() { - $(this)[0].parentElement.parentElement.remove(); + $(this).parent().parent().remove(); }); $('#extra-repos-dialog, #extra-build-lists-dialog').dialog({