mirror of
https://github.com/zadam/trilium.git
synced 2024-12-27 18:32:23 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
9924727729
1 changed files with 2 additions and 2 deletions
|
@ -162,7 +162,7 @@ function parseBoolean(obj, name) {
|
||||||
return obj[name] === 'true';
|
return obj[name] === 'true';
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseInteger(obj, name) {
|
function parseOrderDirection(obj, name) {
|
||||||
if (!(name in obj)) {
|
if (!(name in obj)) {
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
@ -176,7 +176,7 @@ function parseInteger(obj, name) {
|
||||||
return integer;
|
return integer;
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseOrderDirection(obj, name) {
|
function parseInteger(obj, name) {
|
||||||
if (!(name in obj)) {
|
if (!(name in obj)) {
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue