Carry over incognito between chapter loads (in the url)
This commit is contained in:
parent
ba14f47a96
commit
184fe6a1cd
1 changed files with 4 additions and 4 deletions
|
|
@ -266,13 +266,13 @@ export class ReaderService {
|
|||
|
||||
|
||||
getQueryParamsObject(incognitoMode: boolean = false, readingListMode: boolean = false, readingListId: number = -1) {
|
||||
let params: {[key: string]: any} = {};
|
||||
if (incognitoMode) {
|
||||
params['incognitoMode'] = true;
|
||||
}
|
||||
const params: {[key: string]: any} = {};
|
||||
params['incognitoMode'] = incognitoMode;
|
||||
|
||||
if (readingListMode) {
|
||||
params['readingListId'] = readingListId;
|
||||
}
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue