From 6460d6e879ba5aef3818be7c09c48788af9090f4 Mon Sep 17 00:00:00 2001 From: Miha Mencin Date: Thu, 16 Jan 2020 14:50:31 +0100 Subject: [PATCH] fix typo, fix codestyle --- .../javascripts/repositories/repository_datatable.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/assets/javascripts/repositories/repository_datatable.js b/app/assets/javascripts/repositories/repository_datatable.js index 82dd296fa..9e75be913 100644 --- a/app/assets/javascripts/repositories/repository_datatable.js +++ b/app/assets/javascripts/repositories/repository_datatable.js @@ -375,10 +375,10 @@ var RepositoryDatatable = (function(global) { } function disableCheckboxToggleOnCheckboxPreview(){ - $(".checklist-dropdown").click(function(e) { - e.stopPropagation(); - $(e.currentTarget).find("ul").toggle() - }); + $('.checklist-dropdown').click(function(e) { + e.stopPropagation(); + $(e.currentTarget).find('ul').toggle() + }); } // Adjust columns width in table header @@ -595,7 +595,7 @@ var RepositoryDatatable = (function(global) { }); TABLE.on('column-reorder', function() { - FdSelection(); + initRowSelection(); }); $('#assignRepositories, #unassignRepositories').click(function() {