From d3ec80f3748eeed2f6a4f7c75c85d56388171e2a Mon Sep 17 00:00:00 2001 From: Viraj Mahesh Date: Mon, 28 Apr 2014 01:11:23 -0700 Subject: Commented out popup --- morphic.js | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'morphic.js') diff --git a/morphic.js b/morphic.js index b55b180..329c3ed 100644 --- a/morphic.js +++ b/morphic.js @@ -10353,16 +10353,17 @@ WorldMorph.prototype.initEventListeners = function () { false ); - window.onbeforeunload = function (evt) { - var e = evt || window.event, - msg = "Are you sure you want to leave?"; - // For IE and Firefox - if (e) { - e.returnValue = msg; - } - // For Safari / chrome - return msg; - }; + // window.onbeforeunload = function (evt) { + // var e = evt || window.event, + // msg = "Are you sure you want to leave?"; + // // For IE and Firefox + // if (e) { + // e.returnValue = msg; + // } + // // For Safari / chrome + // return msg; + // }; + window.onbeforeunload = null; }; WorldMorph.prototype.mouseDownLeft = function () { -- cgit v1.3.1