summaryrefslogtreecommitdiff
path: root/read.html
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-02-28 09:17:27 +0300
committerAndrew Dolgov <[email protected]>2017-02-28 09:17:27 +0300
commit27ef6e89501371b58b92a3b805ab31ba8fc79260 (patch)
treefea8f3daece8b5e30218497362051cae79fda456 /read.html
parent16d52ac49f7318620d3a84e172cf18917d70de1b (diff)
fix .urlParam(); make offline search/reset work similarly to online version
Diffstat (limited to 'read.html')
-rw-r--r--read.html5
1 files changed, 0 insertions, 5 deletions
diff --git a/read.html b/read.html
index aa29f15..ba7544f 100644
--- a/read.html
+++ b/read.html
@@ -213,11 +213,6 @@
var _pagination_stored = 0;
var _last_position_sync = 0;
- $.urlParam = function(name){
- var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
- return results[1] || 0;
- }
-
function cacheId(suffix) {
return "epube-book." + $.urlParam("b") + (suffix ? "." + suffix : "");
}