From 3d07b1fabe3579ebdaf9dc6d6a8ffbd69d799e32 Mon Sep 17 00:00:00 2001 From: Ralf Stockmann Date: Thu, 18 May 2023 22:46:07 +0200 Subject: [PATCH] Update script.js - load the actual server in the form of the settings screen --- script.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script.js b/script.js index 02a6d24..24f0264 100644 --- a/script.js +++ b/script.js @@ -147,6 +147,9 @@ $(document).ready(function() { for (let i = 0; i < currentHashtags.length; i++) { $(`#hashtag${i+1}`).val(currentHashtags[i].substring(1)); // Remove the leading '#' } + + // Pre-fill the server field with the current server + $('#serverUrl').val(server); }); // Check if hashtags are provided