mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-17 10:40:55 +01:00
Missing return
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user