Fix dynamic addition of build date.

pull/7/head
wolfbeast 3 years ago committed by Roy Tam
parent 9fdca8dca9
commit 9e1d7a55fc
  1. 2
      application/palemoon/base/content/aboutDialog.js

@ -42,7 +42,7 @@ function init(aEvent)
if (/[ab]\d+$/.test(version)) {
let buildID = Services.appinfo.appBuildID;
let buildDate = buildID.slice(0,4) + "-" + buildID.slice(4,6) + "-" + buildID.slice(6,8);
document.getElementById("PMversion").textContent += " (" + buildDate + ")";
document.getElementById("aboutVersion").textContent += " (" + buildDate + ")";
}
#ifdef XP_MACOSX

Loading…
Cancel
Save