From 49585245eabbd0b3c695d67f9b53e811bb46db89 Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Fri, 3 May 2013 07:14:14 -0700 Subject: [PATCH] Small flavor change. --- src/General/lib/$.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/General/lib/$.coffee b/src/General/lib/$.coffee index 3c90f73e0..b8478ac87 100644 --- a/src/General/lib/$.coffee +++ b/src/General/lib/$.coffee @@ -149,7 +149,7 @@ $.hasClass = (el, className) -> el.classList.contains className $.rm = do -> - if 'remove' of Element.prototype + if 'remove' of Element:: (el) -> el.remove() else (el) -> el.parentNode?.removeChild el