From 949cfe65b12aa5f2f0d5a2179083214be0eb390c Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sun, 24 Mar 2013 10:23:00 +0100 Subject: [PATCH] actually use spin_presets - make it red --- manifold/js/manifold.js | 2 +- unfold/js/spin.presets.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifold/js/manifold.js b/manifold/js/manifold.js index 15b46320..88b9482b 100644 --- a/manifold/js/manifold.js +++ b/manifold/js/manifold.js @@ -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 diff --git a/unfold/js/spin.presets.js b/unfold/js/spin.presets.js index 8cb38d61..94cc979d 100644 --- a/unfold/js/spin.presets.js +++ b/unfold/js/spin.presets.js @@ -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 -- 2.43.0