From 04c88a4af9774332ef3e5f22e1e9ec1a11d557e6 Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 20 Mar 2023 13:33:16 +0100 Subject: [PATCH] escape du dollar !!! \$ --- ASTROBOT/VOEUX.refresh.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ASTROBOT/VOEUX.refresh.sh b/ASTROBOT/VOEUX.refresh.sh index 72973bd6..b0d93276 100755 --- a/ASTROBOT/VOEUX.refresh.sh +++ b/ASTROBOT/VOEUX.refresh.sh @@ -149,19 +149,19 @@ do done ################################## ## FINISH LOCATIONS - echo"}; - $('#sphere').earth3d({ - locationsElement: $('#locations'), - dragElement: $('#locations'), + echo "}; + \$('#sphere').earth3d({ + locationsElement: \$('#locations'), + dragElement: \$('#locations'), locations: locations }); }; - $(document).ready(function() { + \$(document).ready(function() { selectExample('locations'); - $('#example').change(function() { - selectExample($(this).val()); + \$('#example').change(function() { + selectExample(\$(this).val()); }); }); " >> ~/.zen/tmp/world.js