web/data/cubicweb.htmlhelpers.js
changeset 30 25ef1dddaab8
parent 29 7d14f1eadded
child 1419 7ff24154351d
--- a/web/data/cubicweb.htmlhelpers.js	Wed Nov 12 16:09:03 2008 +0100
+++ b/web/data/cubicweb.htmlhelpers.js	Wed Nov 12 17:05:26 2008 +0100
@@ -249,14 +249,11 @@
 
 //============= page loading events ==========================================//
 function roundedCornersOnLoad() {
-    roundClass("div", "sideBox", {corners: "bottom", compact:false});
-    roundClass("div", "boxTitle", {corners: "top",  compact:true});
-    roundClass("div", "boxPrefTitle", {corners: "top",  compact:true});
-    roundClass("div", "sideBoxTitle", {corners: "top",  compact:true});
-    roundClass("th", "month", {corners: "top",  compact:true});
+    jQuery('div.sideBox').corner('bottom 6px');
+    jQuery('div.boxTitle, div.boxPrefTitle, div.sideBoxTitle, th.month').corner('top 6px');
 }
 
-// jQuery(document).ready(roundedCornersOnLoad);
+jQuery(document).ready(roundedCornersOnLoad);
 
 
 CubicWeb.provide('htmlhelpers.js');