mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Give hint on extension link as asset list :3
This commit is contained in:
@ -219,6 +219,12 @@ function downloadAssetsList(url) {
|
|||||||
$('#assets_menu').show();
|
$('#assets_menu').show();
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
|
// Info hint if the user maybe... likely accidently was trying to install an extension and we wanna help guide them? uwu :3
|
||||||
|
const installButton = $('#third_party_extension_button');
|
||||||
|
flashHighlight(installButton, 10_000);
|
||||||
|
toastr.info('If you are trying to install an extension, click the flashing button to the right of this.', 'Trying to install a custom extension?', { timeOut: 10_000 });
|
||||||
|
|
||||||
|
// Error logged after, to appear on top
|
||||||
console.error(error);
|
console.error(error);
|
||||||
toastr.error('Problem with assets URL', DEBUG_PREFIX + 'Cannot get assets list');
|
toastr.error('Problem with assets URL', DEBUG_PREFIX + 'Cannot get assets list');
|
||||||
$('#assets-connect-button').addClass('fa-plug-circle-exclamation');
|
$('#assets-connect-button').addClass('fa-plug-circle-exclamation');
|
||||||
|
Reference in New Issue
Block a user