Corrections syntaxiques.
authorBenoît Pin <benoit.pin@gmail.com>
Wed, 24 Jul 2013 03:17:12 +0000 (05:17 +0200)
committerBenoît Pin <benoit.pin@gmail.com>
Wed, 24 Jul 2013 03:17:12 +0000 (05:17 +0200)
skins/ajax_scripts/ajax_form_manager.js

index bdea518..03ebdd8 100644 (file)
@@ -478,7 +478,7 @@ function smoothScroll(from, to) {
                        window.clearInterval(intervalId);
                        window.scroll(0, to);
                }
                        window.clearInterval(intervalId);
                        window.scroll(0, to);
                }
-       }
+       };
        intervalId = window.setInterval(jump, 10);
 }
 
        intervalId = window.setInterval(jump, 10);
 }
 
@@ -518,7 +518,7 @@ function shake(e, distance, time) {
         }
         else {
             // Otherwise, the animation is complete
         }
         else {
             // Otherwise, the animation is complete
-            e.style.cssText = originalStyle // Restore the original style
+            e.style.cssText = originalStyle; // Restore the original style
         }
     }
 }
         }
     }
 }