From: Nathan G. <nat...@gm...> - 2012-06-25 19:45:53
|
On Mon, Jun 25, 2012 at 1:40 PM, Christian Binder <chr...@ja...> wrote: > Hi, > > some et2 templates are still using the old set_style_by_class() method > defined in etemplate.js. This method does not exist when et2 is enabled. > > Should we re-define this method in et2 or just use e.g. > jQuery('.class').css('display','inline') directly instead? I've been going to jQuery whenever I hit this. The only reason to re-define it that I can think of is convenience to avoid changing every usage. Nathan |