about summary refs log tree commit diff stats
path: root/read.html
diff options
context:
space:
mode:
authorAndrew Dolgov <noreply@fakecake.org>2018-11-29 15:04:27 +0300
committerAndrew Dolgov <noreply@fakecake.org>2018-11-29 15:04:27 +0300
commitb026d16edeaebd6dbeba66198644ee4a2ce02dae (patch)
treed7cb860f3e1166b3310c8722a24f926f98c6d834 /read.html
parente906fd5d3ac3085e54a5f82abdd83430f741239c (diff)
downloadthe-epube-b026d16edeaebd6dbeba66198644ee4a2ce02dae.tar.gz
the-epube-b026d16edeaebd6dbeba66198644ee4a2ce02dae.tar.xz
some eslint-related fixes
Diffstat (limited to 'read.html')
-rw-r--r--read.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/read.html b/read.html
index 909359d..1ce7f7b 100644
--- a/read.html
+++ b/read.html
@@ -236,11 +236,11 @@
 <script type='text/javascript'>
 	'use strict';
 
-	var _pagination_stored = 0;
-	var _last_position_sync = 0;
-
-	var _is_ios = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
-	var _res_data = [];
+	let _pagination_stored = 0;
+	let _last_position_sync = 0;
+	let _store_position = 0;
+	let _is_ios = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
+	let _res_data = [];
 
 	const DEFAULT_FONT_SIZE = 16;
 	const DEFAULT_FONT_FAMILY = "Georgia";