}
if (!_elements.has(element)) {
- var jumpTo = elBySel('.jumpTo', element);
- if (jumpTo !== null) {
+ elBySelAll('.jumpTo', element, (function(jumpTo) {
jumpTo.addEventListener(WCF_CLICK_EVENT, this._click.bind(this, element));
-
_elements.set(element, { callback: callback });
- }
+ }).bind(this));
}
},
if (typeof this._options.callbackSwitch !== 'function') this._options.callbackSwitch = null;
this._element.classList.add('pagination');
- this._element.classList.add('small');
this._rebuild(this._element);
},
listItem.className = 'skip';
list.appendChild(listItem);
- var iconClassNames = 'icon icon16 fa-angle-double-left';
+ var iconClassNames = 'icon icon16 fa-chevron-left';
if (this._options.activePage > 1) {
link = elCreate('a');
link.className = iconClassNames + ' jsTooltip';
listItem.className = 'skip';
list.appendChild(listItem);
- iconClassNames = 'icon icon16 fa-angle-double-right';
+ iconClassNames = 'icon icon16 fa-chevron-right';
if (this._options.activePage < this._options.maxPage) {
link = elCreate('a');
link.className = iconClassNames + ' jsTooltip';