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