Pointer will return false when URL is null
This commit is contained in:
parent
d8f216dac5
commit
a1d19d3561
1 changed files with 1 additions and 2 deletions
|
@ -21,8 +21,7 @@ class pointer {
|
|||
} catch(err) {}
|
||||
|
||||
// Get the last edited site.
|
||||
return((URL) ? global.write([`last`], URL, -1) : null);
|
||||
|
||||
return((URL) ? global.write([`last`], URL, -1) : false);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue