scrollHeaderHorizontal: don't use hardcoded class
This commit is contained in:
@@ -159,7 +159,7 @@ function cloneChildren(toClone, toAppend){
|
|||||||
|
|
||||||
/* Scroll fixed headers horizontally, used for the header of items_list (like assets or shots) */
|
/* Scroll fixed headers horizontally, used for the header of items_list (like assets or shots) */
|
||||||
function scrollHeaderHorizontal(scrollableClassName, fixedContainer, offset){
|
function scrollHeaderHorizontal(scrollableClassName, fixedContainer, offset){
|
||||||
var $table_list = $('.item-list');
|
var $table_list = $(scrollableClassName);
|
||||||
|
|
||||||
$table_list.scroll(function(e) {
|
$table_list.scroll(function(e) {
|
||||||
// Scroll of the table scrollableClassName from the left minus offset, inverted (multiplied by -1)
|
// Scroll of the table scrollableClassName from the left minus offset, inverted (multiplied by -1)
|
||||||
|
Reference in New Issue
Block a user