Skip to content

Commit

Permalink
v1.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
MattRuddick committed Dec 5, 2020
1 parent 742a365 commit d8fe8bb
Show file tree
Hide file tree
Showing 4 changed files with 943 additions and 7 deletions.
12 changes: 7 additions & 5 deletions public/global.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const currentVersion = "v1.3";
const currentVersion = "v1.4";

function populateTextSectionContent() {
//Will strip template html of html tags leaving inner content for the template text field
Expand Down Expand Up @@ -26,8 +26,10 @@ function populateTextSectionContent() {
});
}

if (sessionStorage.getItem('versionOutdated')) {
const latestVersion = sessionStorage.getItem('latestVersion');
$('body').append(`<a id="newVersionIndicator" href="https://github.com/MattRuddick/ses-template-manager/releases/tag/${latestVersion}" target="_blank">New Version Available</a>`);
}
$(document).ready(function() {
if (sessionStorage.getItem('versionOutdated')) {
const latestVersion = sessionStorage.getItem('latestVersion');
$('body').append(`<a id="newVersionIndicator" href="https://github.com/MattRuddick/ses-template-manager/releases/tag/${latestVersion}" target="_blank">New Version Available</a>`);
}
});
})();
Loading

0 comments on commit d8fe8bb

Please sign in to comment.