Fix dynamic addition of build date.

This commit is contained in:
wolfbeast 2019-03-04 13:32:11 +01:00 committed by Roy Tam
commit 9e1d7a55fc

View file

@ -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