From 251a2364e6b195bd56dec69d19f6585d746e18fa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Wed, 15 Apr 2015 13:18:19 +0200 Subject: [PATCH 1/1] =?utf8?q?fonction=20=C2=AB=C2=A0shake=C2=A0=C2=BB=20p?= =?utf8?q?ublique.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Products/Plinn/skins/ajax_scripts/ajax_form_manager.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Products/Plinn/skins/ajax_scripts/ajax_form_manager.js b/Products/Plinn/skins/ajax_scripts/ajax_form_manager.js index 6f6748e..bf72813 100644 --- a/Products/Plinn/skins/ajax_scripts/ajax_form_manager.js +++ b/Products/Plinn/skins/ajax_scripts/ajax_form_manager.js @@ -5,6 +5,7 @@ // var FormManager; +var shake; (function(){ @@ -487,7 +488,7 @@ function smoothScroll(from, to) { } /* adapted from http://xahlee.info/js/js_shake_box.html */ -function shake(e, distance, time) { +shake = function(e, distance, time) { // Handle arguments if (!time) { time = 500; } if (!distance) { distance = 5; } @@ -525,6 +526,6 @@ function shake(e, distance, time) { } } animate(); -} +}; }()); -- 2.20.1