Probably tidier to use `event` and not `e`

This commit is contained in:
George Stephanis 2015-08-10 16:27:04 -04:00
parent 0996778567
commit 9887fbaf50
1 changed files with 3 additions and 3 deletions

View File

@ -71,9 +71,9 @@
clearUnloadConfirmation : function() {
this.needsUnloadConfirm = false;
},
unloadConfirmation : function(e) {
if ( e.data.view.needsUnloadConfirm ) {
e.returnValue = data.strings.unload_confirmation_msg;
unloadConfirmation : function(event) {
if ( event.data.view.needsUnloadConfirm ) {
event.returnValue = data.strings.unload_confirmation_msg;
window.event.returnValue = data.strings.unload_confirmation_msg;
return data.strings.unload_confirmation_msg;
}