From c050b8151ae9923b3c728ae910649e340bf92c14 Mon Sep 17 00:00:00 2001 From: Mcat12 Date: Sat, 21 May 2016 10:58:06 -0400 Subject: [PATCH] Add update notifications Using the Github API, it checks the latest release against the current version. If it needs updating, it shows an update alert in the top right dropdown-menu and opens it automatically. Also this commit stops the dropdown-menu from closing if you click inside of it. It will only close if you click the toggle button or outside of it. --- footer.php | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++-- header.html | 15 +++++++++++--- 2 files changed, 70 insertions(+), 5 deletions(-) diff --git a/footer.php b/footer.php index ae35e29d..e47c49d0 100644 --- a/footer.php +++ b/footer.php @@ -4,8 +4,12 @@ @@ -20,5 +24,57 @@ + + diff --git a/header.html b/header.html index 189a7c81..5de7a5d7 100644 --- a/header.html +++ b/header.html @@ -50,8 +50,8 @@ - +