summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/extended/dom.js
blob: 21016b037b967c74f57a5134c0bd183c44135cb9 (plain)
1
2
3
4
5
6
7
Object.extend(Element, {
	condClassName : function (element, className, cond)
	{
		(cond?Element.addClassName:Element.removeClassName)(element,className);
	}
});