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