When resizing the browser window, execute "isOutOfViewport" (montage.js)
parent
563a5450fd
commit
016524b729
|
@ -837,6 +837,7 @@ function initPage() {
|
||||||
|
|
||||||
document.addEventListener('scrollend', on_scroll); // for non-sticky
|
document.addEventListener('scrollend', on_scroll); // for non-sticky
|
||||||
document.getElementById('content').addEventListener('scrollend', on_scroll);
|
document.getElementById('content').addEventListener('scrollend', on_scroll);
|
||||||
|
window.addEventListener('resize', on_scroll);
|
||||||
} // end initPage
|
} // end initPage
|
||||||
|
|
||||||
function on_scroll() {
|
function on_scroll() {
|
||||||
|
|
Loading…
Reference in New Issue