Update script.js
- load the actual server in the form of the settings screen
This commit is contained in:
parent
68a331df85
commit
3d07b1fabe
1 changed files with 3 additions and 0 deletions
|
@ -147,6 +147,9 @@ $(document).ready(function() {
|
||||||
for (let i = 0; i < currentHashtags.length; i++) {
|
for (let i = 0; i < currentHashtags.length; i++) {
|
||||||
$(`#hashtag${i+1}`).val(currentHashtags[i].substring(1)); // Remove the leading '#'
|
$(`#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
|
// Check if hashtags are provided
|
||||||
|
|
Loading…
Reference in a new issue