X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/blobdiff_plain/292a91bf78532d43a81bc528307ded8c6733d130..37a89e8ae93ec89d21335d546e6271d88819783a:/skins/ajax_scripts/ajax_form_manager.js diff --git a/skins/ajax_scripts/ajax_form_manager.js b/skins/ajax_scripts/ajax_form_manager.js index bdea518..03ebdd8 100644 --- a/skins/ajax_scripts/ajax_form_manager.js +++ b/skins/ajax_scripts/ajax_form_manager.js @@ -478,7 +478,7 @@ function smoothScroll(from, to) { window.clearInterval(intervalId); window.scroll(0, to); } - } + }; intervalId = window.setInterval(jump, 10); } @@ -518,7 +518,7 @@ function shake(e, distance, time) { } else { // Otherwise, the animation is complete - e.style.cssText = originalStyle // Restore the original style + e.style.cssText = originalStyle; // Restore the original style } } }