pub / rememori

Simple file-based bookmarking and notes application
git clone https://src.jayvii.de/pub/rememori.git
Home | Log | Files | Exports | Refs | README | RSS

commit bf38423591e1424101f5a0c7fab68b05b990e2c0
parent bafad98fefddb078def658831b2c2df7ca383e4e
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sun, 27 Oct 2024 14:59:01 +0100

fix: if category-prompt was canceled use empty category in bookmarklet

Diffstat:
Mlib/bookmarklet.php | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/lib/bookmarklet.php b/lib/bookmarklet.php @@ -11,6 +11,7 @@ var category = prompt( '" . $GLOBALS["i18n_bookmarklet_prompt"] . "', 'unknown' ); +if (category === null) { category = ''; } remori_window = window.open( 'https://" . $_SERVER["SERVER_NAME"] . "/api/new.php ?user=" . $user . "