web/data/cubicweb.compat.js
changeset 6544 e0d20fb46389
parent 5727 29afb9e715bb
child 6545 5cea387a5667
--- a/web/data/cubicweb.compat.js	Tue Oct 19 12:01:35 2010 +0200
+++ b/web/data/cubicweb.compat.js	Tue Oct 19 13:13:13 2010 +0200
@@ -80,9 +80,9 @@
 );
 
 hasElementClass = cw.utils.deprecatedFunction(
-    '[3.9] hasElementClass(node, cls) is depcreated, use $.className.has(node, cls)',
+    '[3.9] hasElementClass(node, cls) is deprecated, use $(node).hasClass(cls)',
     function(node, klass) {
-        return $.className.has(node, klass);
+        return $(node).hasClass(klass);
     }
 );