diff --git a/playground/html/material-gauge-gh-pages/index.html b/playground/html/material-gauge-gh-pages/index.html index 74ad04b..2a67ccb 100644 --- a/playground/html/material-gauge-gh-pages/index.html +++ b/playground/html/material-gauge-gh-pages/index.html @@ -39,7 +39,7 @@
-
+
diff --git a/playground/html/root/gauge.js b/playground/html/root/gauge.js index d281f14..5eb8fa8 100644 --- a/playground/html/root/gauge.js +++ b/playground/html/root/gauge.js @@ -13,7 +13,7 @@ var setElement = function(el) { // Keep a reference to the various elements and sub-elements element = el; data = element.querySelector('.gauge__data'); - needle = element.querySelector('.gauge__needle'); + //needle = element.querySelector('.gauge__needle'); valueLabel = element.querySelector('.gauge__label--spacer'); }; @@ -23,7 +23,7 @@ var setValue = function(x, max, unit) { value = percentage / 100; var turns = -0.5 + (value * 0.5); data.style[prop] = 'rotate(' + turns + 'turn)'; - needle.style[prop] = 'rotate(' + turns + 'turn)'; + //needle.style[prop] = 'rotate(' + turns + 'turn)'; valueLabel.textContent = x + unit; }; diff --git a/playground/html/root/index.html b/playground/html/root/index.html index 44cfbf8..d27a1f2 100644 --- a/playground/html/root/index.html +++ b/playground/html/root/index.html @@ -114,7 +114,7 @@ a:active {
-
+
@@ -129,7 +129,7 @@ a:active {
-
+
@@ -144,7 +144,7 @@ a:active {
-
+