actually use spin_presets - make it red
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Sun, 24 Mar 2013 09:23:00 +0000 (10:23 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Sun, 24 Mar 2013 09:23:00 +0000 (10:23 +0100)
manifold/js/manifold.js
unfold/js/spin.presets.js

index 15b4632..88b9482 100644 (file)
@@ -46,7 +46,7 @@ var manifold = {
        // start spinners
 
        if (manifold.asynchroneous_exec) console.log("Turning spin on with " + jQuery(".need-spin").length + " matches for need-spin");
-       jQuery('.need-spin').spin();
+       jQuery('.need-spin').spin(spin_presets);
        
        // We use js function closure to be able to pass the query (array) to the
        // callback function used when data is received
index 8cb38d6..94cc979 100644 (file)
@@ -5,7 +5,7 @@ var spin_presets={
   radius: 10, // The radius of the inner circle
   corners: 1, // Corner roundness (0..1)
   rotate: 0, // The rotation offset
-  color: '#306', // #rgb or #rrggbb
+  color: '#f00', // #rgb or #rrggbb
   speed: 1, // Rounds per second
   trail: 60, // Afterglow percentage
   shadow: false, // Whether to render a shadow