From 5e0ee64baf14ba9d4764120d345d5a5d9107ed41 Mon Sep 17 00:00:00 2001 From: marcustyphoon Date: Sun, 22 Dec 2024 10:55:13 -0800 Subject: [PATCH] XKit Preferences: Cancel first-install tour on any successful click (#2181) --- Extensions/xkit_preferences.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Extensions/xkit_preferences.js b/Extensions/xkit_preferences.js index ec6295963..b69baa4f9 100644 --- a/Extensions/xkit_preferences.js +++ b/Extensions/xkit_preferences.js @@ -1,5 +1,5 @@ //* TITLE XKit Preferences **// -//* VERSION 7.7.1 **// +//* VERSION 7.7.2 **// //* DESCRIPTION Lets you customize XKit **// //* DEVELOPER new-xkit **// @@ -680,14 +680,16 @@ XKit.extensions.xkit_preferences = new Object({ $("#xkit-control-panel-shadow").fadeIn('slow'); $("#xkit-control-panel-shadow").click(XKit.extensions.xkit_preferences.close); + if (XKit.storage.get("xkit_preferences", "shown_welcome_bubble") !== "true") { + XKit.storage.set("xkit_preferences", "shown_welcome_bubble", "true"); + } + if (XKit.extensions.xkit_preferences.bubble_tour_mode === true) { XKit.extensions.xkit_preferences.bubble_tour_mode = false; $("#xkit-welcoming-bubble").remove(); $("#xkit-welcoming-bubble-shadow").remove(); - XKit.storage.set("xkit_preferences", "shown_welcome_bubble", "true"); - XKit.window.show("Welcome to the control panel!", "This is the My XKit panel.
This is where you customize your XKit.
" + "You can turn on/off extensions or change their settings here.

" +