rename modal.onClose() arg for similarity with modal.onResume()

This commit is contained in:
Simon Grim 2016-11-25 02:52:57 +05:00
parent 4349e33097
commit 43a1e8b3c8

View File

@ -120,7 +120,7 @@ function closeModal(req, switchMode) {
this.remove(); // if it's minimized it will be removed with twister.modal[i].drapper
if (typeof twister.modal[i].onClose === 'function')
twister.modal[i].onClose(twister.modal[i].closeArg);
twister.modal[i].onClose(twister.modal[i].onCloseReq);
twister.modal[i].drapper.remove();
twister.modal[i] = undefined;