packages feed

battleships-1.0.0: templates/default-layout.julius

function confirmLeave() {
	conf = window.confirm("#{rawJS (messageRender MsgConfirmLeave)}");
	if (conf == true) {
		document.location = "@{HomeR}";
	}
}

window.onload = function() {
	var ua = window.navigator.userAgent;
	if (ua.indexOf("MSIE") > 0 || ua.indexOf("Trident/") > 0) {
		document.getElementsByClassName('IEWarning')[0].style.display = 'block';
	}
};