X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/blobdiff_plain/292a91bf78532d43a81bc528307ded8c6733d130..ad865412e1d18480a242f20b48043f27a20f0a94:/skins/ajax_scripts/ajax_form_manager.js?ds=inline 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 } } }