Pointer will return false when URL is null

This commit is contained in:
buzz-lightsnack-2007 2024-05-05 14:11:25 +08:00
parent d8f216dac5
commit a1d19d3561

View file

@ -21,8 +21,7 @@ class pointer {
} catch(err) {} } catch(err) {}
// Get the last edited site. // Get the last edited site.
return((URL) ? global.write([`last`], URL, -1) : null); return((URL) ? global.write([`last`], URL, -1) : false);
} }
/* /*