Closed hashworks closed 9 years ago
The solution is to call _sizePages() on resize:
var dragend = new Dragend(document.getElementById("content"));
window.addEventListener('resize', function() {
dragend._sizePages();
});
It is. Sorry.
When I resize my browser dragend won't resize the pages, resulting in two pages beeing visible at once or the page beeing too large for the window.