]> dev.renevier.net Git - syj.git/blobdiff - public/js/highlight.js
assemble all utils scripts in a utils.js file
[syj.git] / public / js / highlight.js
diff --git a/public/js/highlight.js b/public/js/highlight.js
deleted file mode 100644 (file)
index 289cd2a..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-Element.addMethods({
-    highlight: function(element, color, timeout) {
-        var current;
-        if (typeof timeout === "undefined") {
-            timeout = 0.3;
-        }
-        current = element.getStyle('backgroundColor');
-        Element.setStyle(element, {'backgroundColor': color});
-        Element.setStyle.delay(timeout, element, {'backgroundColor': current});
-        return element;
-    }
-});