From 7a6fa6b51ad6b43246fe2804b511082e8fabef5b Mon Sep 17 00:00:00 2001 From: Jonas Wiebe Date: Thu, 25 Feb 2021 11:31:24 +0100 Subject: [PATCH] Fix update routine --- Instagram Widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Instagram Widget.js b/Instagram Widget.js index 4589bb1..d101c45 100644 --- a/Instagram Widget.js +++ b/Instagram Widget.js @@ -590,7 +590,7 @@ if (config.runsInApp) { let url = 'https://api.github.com/repos/wiebecommajonas/instagram-widget/tags' let req = new Request(url) let response = await req.loadJSON() - if (false && response[0].name == igWidget.version) { + if (response[0].name == igWidget.version) { await showAlert('Update', 'Your Script is up to date.', ['Ok']) } else { await showAlert('Update', `Updating script to ${response[0].name}. The current script will be backed up.`, ['Continue'])