function(target) {
		parentNode = target.parentNode;
		if (parentNode) {
			if (parentNode.classList.contains(CLASS_OFF_CANVAS_WRAP)) {
				return parentNode;
			} else {
				parentNode = parentNode.parentNode;
				if (parentNode.classList.contains(CLASS_OFF_CANVAS_WRAP)) {
					return parentNode;
				}
			}
		}
	}
function(target) {
		parentNode = target.parentNode;
		if (parentNode) {
			if (parentNode.classList.contains(CLASS_OFF_CANVAS_WRAP)) {
				return parentNode;
			} else {
				parentNode = parentNode.parentNode;
				if (parentNode.classList.contains(CLASS_OFF_CANVAS_WRAP)) {
					return parentNode;
				}
			}
		}
	}
function ( target ) { parentNode = target . parentNode ; if ( parentNode ) { if ( parentNode . classList . contains ( CLASS_OFF_CANVAS_WRAP ) ) { return parentNode ; } else { parentNode = parentNode . parentNode ; if ( parentNode . classList . contains ( CLASS_OFF_CANVAS_WRAP ) ) { return parentNode ; } } } }
hash to offcanvas
hash to offcanvas
Returns the parent of the target node