mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
lint: Require semicolons
This commit is contained in:
@ -2,7 +2,7 @@ const ELEMENT_ID = 'loader';
|
||||
|
||||
export function showLoader() {
|
||||
const container = $('<div></div>').attr('id', ELEMENT_ID);
|
||||
const loader = $('<div></div>').attr('id', 'load-spinner').addClass('fa-solid fa-gear fa-spin fa-3x')
|
||||
const loader = $('<div></div>').attr('id', 'load-spinner').addClass('fa-solid fa-gear fa-spin fa-3x');
|
||||
container.append(loader);
|
||||
$('body').append(container);
|
||||
|
||||
@ -15,14 +15,14 @@ export function hideLoader() {
|
||||
$(`#${ELEMENT_ID}`)
|
||||
.animate({ opacity: 0 }, 300, function () {
|
||||
//console.log('REMOVING LOADER')
|
||||
$(`#${ELEMENT_ID}`).remove()
|
||||
})
|
||||
})
|
||||
$(`#${ELEMENT_ID}`).remove();
|
||||
});
|
||||
});
|
||||
|
||||
//console.log('BLURRING SPINNER')
|
||||
$('#load-spinner')
|
||||
.css({
|
||||
'filter': 'blur(15px)',
|
||||
'opacity': '0',
|
||||
})
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user