dont crash if app.logout is called from code

v1.18.x
Barış Soner Uşaklı 7 years ago
parent 7eab9f6ab0
commit bac2da0ace

@ -107,7 +107,7 @@ app.cacheBuster = null;
}; };
app.logout = function (e) { app.logout = function (e) {
e.preventDefault(); e && e.preventDefault();
$(window).trigger('action:app.logout'); $(window).trigger('action:app.logout');
/* /*

Loading…
Cancel
Save