improved page loading time by ~60% - no gf

This commit is contained in:
janis
2023-05-25 09:09:19 +02:00
parent 17e8475adb
commit 69494e8d20
9 changed files with 34 additions and 33 deletions

View File

@@ -54,8 +54,8 @@ $( document ).ready( function () {
}
function trackProgress () {
$( '.progress-item' ).html( `radio_button_unchecked` );
document.getElementById( `step${currentlyShowing + 1}` ).innerHTML = `radio_button_checked`;
$( '.progress-item' ).attr( 'src', `/assets/radio_button_unchecked.svg` );
$( `#step${currentlyShowing + 1}` ).attr( 'src', `/assets/radio_button_checked.svg` );
}
$( '.progress-item' ).click( function () {