From a1d19d356183ddfacc6ea43e03c3702242f54dbd Mon Sep 17 00:00:00 2001 From: buzz-lightsnack-2007 <73412182+buzz-lightsnack-2007@users.noreply.github.com> Date: Sun, 5 May 2024 14:11:25 +0800 Subject: [PATCH] Pointer will return false when URL is null --- scripts/data/pointer.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/data/pointer.js b/scripts/data/pointer.js index 5f61c12..2486e4e 100644 --- a/scripts/data/pointer.js +++ b/scripts/data/pointer.js @@ -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); } /*