client/paging: replace 'var' with 'let'

Old habits die hard
This commit is contained in:
rr- 2016-05-10 12:10:36 +02:00
parent 7b342b58b5
commit be0a70355d

View file

@ -37,7 +37,7 @@ class EndlessPageView {
}
let topPageNode = null;
var element = document.elementFromPoint(window.innerWidth / 2, 1);
let element = document.elementFromPoint(window.innerWidth / 2, 1);
while (element.parentNode !== null) {
if (element.classList.contains('page')) {
topPageNode = element;