Skip to content

Commit

Permalink
Fix update routine
Browse files Browse the repository at this point in the history
  • Loading branch information
wiebecommajonas committed Feb 25, 2021
1 parent 8d19bdf commit 7a6fa6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Instagram Widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
Expand Down

0 comments on commit 7a6fa6b

Please sign in to comment.