From 4d4a275c0d951bad1f50d9c1ed4e2954ef8dda26 Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Wed, 18 Sep 2019 14:28:29 +0200 Subject: [PATCH] Fix reloading of datatables header --- .../javascripts/repositories/repository_datatable.js.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/repositories/repository_datatable.js.erb b/app/assets/javascripts/repositories/repository_datatable.js.erb index f0b9841d6..c39117557 100644 --- a/app/assets/javascripts/repositories/repository_datatable.js.erb +++ b/app/assets/javascripts/repositories/repository_datatable.js.erb @@ -1361,8 +1361,8 @@ var RepositoryDatatable = (function(global) { function redrawTableOnSidebarToggle() { $('#sidebar-arrow').on('click', function() { setTimeout(function() { - TABLE.draw(); - }, 250); + adjustTableHeader(); + }, 400); }); }