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
1 changed files with 1 additions and 1 deletions

View File

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