fix ios safari again

This commit is contained in:
Pavel Dobryakov
2017-08-27 19:38:09 +03:00
parent 315b650a9f
commit 5433bac382
2 changed files with 7 additions and 2 deletions

View File

@@ -615,4 +615,8 @@ window.addEventListener('touchend', (e) => {
for (let j = 0; j < pointers.length; j++)
if (touches[i].identifier == pointers[j].id)
pointers[j].down = false;
});
});
window.addEventListener("load", () => {
window.scrollTo(1, 0);
}, false);