updated by GasGit automation

This commit is contained in:
Bruce McPherson 2016-06-17 09:55:34 +01:00
parent 919532f542
commit 9317041efb

View file

@ -63,7 +63,17 @@ var DomUtils = (function(ns) {
}; };
/** /**
* hide a div * apply a class to a div
* @param {element} element
* @param {boolean} addClass whether to remove or add
* @param {string} [className] the class
* @return {element} the div
*/
ns.applyClass = function(element, addClass, className) {
return ns.hide (element , addClass , className)
};
/**
* apply a class to a div
* @param {element} element * @param {element} element
* @param {boolean} addClass whether to remove or add * @param {boolean} addClass whether to remove or add
* @param {string} [className] the class * @param {string} [className] the class