Skip to content

Commit

Permalink
The welcome page header uses the new version_name format (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
NikkelM authored Jan 15, 2024
1 parent d52e3ac commit 47cba58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/html/welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ chrome.tabs.query({}, function (tabs) {
});

// --- Set headers ---
const currentVersion = chrome.runtime.getManifest().version;
const currentVersion = chrome.runtime.getManifest().version_name ?? chrome.runtime.getManifest().version;
domElements.updateHeading.innerText = `Random YouTube Video - v${currentVersion}`;

await buildShufflingHints(domElements);
Expand Down

0 comments on commit 47cba58

Please sign in to comment.