Missing return

This commit is contained in:
Djamil Legato
2015-11-20 22:01:46 -08:00
parent ea2b7968e8
commit fe69322279

View File

@@ -12,6 +12,7 @@ $(function(){
root.GravAjax = function (url, settings) { root.GravAjax = function (url, settings) {
if (!isOnline) { if (!isOnline) {
toastr.error('You appear to be Offline.'); toastr.error('You appear to be Offline.');
return false;
} }
settings = typeof settings === 'undefined' ? typeof url === 'string' ? {} : url : settings; settings = typeof settings === 'undefined' ? typeof url === 'string' ? {} : url : settings;