Small style changes

This commit is contained in:
Bernd Bestel
2018-04-19 21:12:01 +02:00
parent eae5b8bad9
commit 7be35a90c1
2 changed files with 26 additions and 0 deletions

View File

@@ -28,6 +28,13 @@ if (!Grocy.ActiveNav.isEmpty())
$.timeago.settings.allowFuture = true;
$('time.timeago').timeago();
toastr.options = {
toastClass: 'alert',
closeButton: true,
timeOut: 20000,
extendedTimeOut: 5000
};
Grocy.Api = { };
Grocy.Api.Get = function(apiFunction, success, error)
{