From fe69322279307ae780e31d60b0341cd02cddbc76 Mon Sep 17 00:00:00 2001 From: Djamil Legato Date: Fri, 20 Nov 2015 22:01:46 -0800 Subject: [PATCH] Missing return --- themes/grav/js/ajax.js | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/grav/js/ajax.js b/themes/grav/js/ajax.js index a1b872cb..8d677391 100644 --- a/themes/grav/js/ajax.js +++ b/themes/grav/js/ajax.js @@ -12,6 +12,7 @@ $(function(){ root.GravAjax = function (url, settings) { if (!isOnline) { toastr.error('You appear to be Offline.'); + return false; } settings = typeof settings === 'undefined' ? typeof url === 'string' ? {} : url : settings;