diff --git a/src/scripts/tutti/00_utils.js b/src/scripts/tutti/00_utils.js index 1f5451f..e2b5552 100644 --- a/src/scripts/tutti/00_utils.js +++ b/src/scripts/tutti/00_utils.js @@ -159,7 +159,7 @@ function cloneChildren(toClone, toAppend){ /* Scroll fixed headers horizontally, used for the header of items_list (like assets or shots) */ function scrollHeaderHorizontal(scrollableClassName, fixedContainer, offset){ - var $table_list = $('.item-list'); + var $table_list = $(scrollableClassName); $table_list.scroll(function(e) { // Scroll of the table scrollableClassName from the left minus offset, inverted (multiplied by -1)