mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-08 19:57:46 -04:00
Prevent storage of last page during breakout link handling
Former-commit-id: dd119ea41f3748fb985ca4aa94099686a0bf2dde [formerly e93a2b92f9c807af390b49060e8a83f45a7ac790] Former-commit-id: de6f0053d0008b09ee747abed9a92372dfe7a791
This commit is contained in:
parent
80c343362a
commit
d52795c66d
@ -2610,6 +2610,8 @@ define(['jquery', 'zimArchiveLoader', 'util', 'uiUtil', 'cookies', 'q', 'module'
|
||||
} //End of displayArticleInForm()
|
||||
|
||||
function handleBreakoutLink() {
|
||||
// Prevent storage of last page temporarily
|
||||
params.rememberLastPage = false;
|
||||
var title = decodeURIComponent(params.lastPageVisit.replace(/@kiwixKey@.+/, ""));
|
||||
if (!params.handlingBreakoutLink && params.handlingBreakoutLink !== 0) {
|
||||
params.handlingBreakoutLink = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user