diff --git a/bundles/LayoutsBundle/Resources/es6/ajax-paging.js b/bundles/LayoutsBundle/Resources/es6/ajax-paging.js index a1d9e962f..eb56351a1 100644 --- a/bundles/LayoutsBundle/Resources/es6/ajax-paging.js +++ b/bundles/LayoutsBundle/Resources/es6/ajax-paging.js @@ -31,7 +31,7 @@ class AjaxPaging { this.loadInitial = this.el.hasAttribute('data-load-initial'); this.baseUrl = this.el.dataset.baseUrl; - el.ajaxPaging = this; + this.el.ajaxPaging = this; this.init(); }