X-Git-Url: https://dev.renevier.net/gitweb.cgi?a=blobdiff_plain;f=public%2Fjs%2Fhighlight.js;fp=public%2Fjs%2Fhighlight.js;h=0000000000000000000000000000000000000000;hb=1de0f433144272946051bb0df886b8c43459beb8;hp=289cd2a946078b5f7afa445e8ac9088565d9a1f9;hpb=d9f13fbba43193040911105caf393aff945eb02d;p=syj.git diff --git a/public/js/highlight.js b/public/js/highlight.js deleted file mode 100644 index 289cd2a..0000000 --- a/public/js/highlight.js +++ /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; - } -});