|
|
@ -281,12 +281,14 @@ function firstPageLoad (store) { |
|
|
|
event.preventDefault() |
|
|
|
event.preventDefault() |
|
|
|
loadItemsNext() |
|
|
|
loadItemsNext() |
|
|
|
store.dispatch({type: 'NAVIGATE_TO_OLDER'}) |
|
|
|
store.dispatch({type: 'NAVIGATE_TO_OLDER'}) |
|
|
|
|
|
|
|
event.stopImmediatePropagation() |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
$element.on('click', '[data-prev-page-button]', (event) => { |
|
|
|
$element.on('click', '[data-prev-page-button]', (event) => { |
|
|
|
event.preventDefault() |
|
|
|
event.preventDefault() |
|
|
|
loadItemsPrev() |
|
|
|
loadItemsPrev() |
|
|
|
store.dispatch({type: 'NAVIGATE_TO_NEWER'}) |
|
|
|
store.dispatch({type: 'NAVIGATE_TO_NEWER'}) |
|
|
|
|
|
|
|
event.stopImmediatePropagation() |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|