diff --git a/js/pihole/footer.js b/js/pihole/footer.js
index f8bd0de4..95f1148d 100644
--- a/js/pihole/footer.js
+++ b/js/pihole/footer.js
@@ -75,16 +75,14 @@ function versionCompare(left, right) {
// Update check
$.getJSON("https://api.github.com/repos/pi-hole/pi-hole/releases/latest", function(json) {
- // Skip if on dev
- if(piholeVersion !== "vDev" && versionCompare(piholeVersion, json.tag_name.slice(1)) < 0) {
+ if(versionCompare(piholeVersion, json.tag_name.slice(1)) < 0) {
// Alert user
$("#piholeVersion").html($("#piholeVersion").text() + '(Update available!)');
$("#alPiholeUpdate").show();
}
});
$.getJSON("https://api.github.com/repos/pi-hole/AdminLTE/releases/latest", function(json) {
- // Skip if on dev
- if(webVersion !== "vDev" && versionCompare(webVersion, json.tag_name.slice(1)) < 0) {
+ if(versionCompare(webVersion, json.tag_name.slice(1)) < 0) {
// Alert user
$("#webVersion").html($("#webVersion").text() + '(Update available!)');
$("#alWebUpdate").show();
@@ -95,7 +93,7 @@ $.getJSON("https://api.github.com/repos/pi-hole/AdminLTE/releases/latest", funct
* Make sure that Pi-hole is updated to at least v2.7, since that is needed to use the sudo
* features of the interface. Skip if on dev
*/
-if(piholeVersion !== "vDev" && versionCompare(piholeVersion, "v2.7") < 0)
+if(versionCompare(piholeVersion, "v2.7") < 0)
alert("Pi-hole needs to be updated to at least v2.7 before you can use features such as whitelisting/blacklisting from this web interface!")
// Session timer