Make it also possible to directly execute/track battery charge cycles and habits from overview pages

This commit is contained in:
Bernd Bestel
2018-05-13 09:38:22 +02:00
parent 6fa4e13ba2
commit 02b6c3b721
6 changed files with 93 additions and 7 deletions

View File

@@ -26,7 +26,11 @@ if (!Grocy.ActiveNav.isEmpty())
}
$.timeago.settings.allowFuture = true;
$('time.timeago').timeago();
RefreshContextualTimeago = function()
{
$('time.timeago').timeago();
}
RefreshContextualTimeago();
toastr.options = {
toastClass: 'alert',