Bug 387163 - "Build ID screwed up in trunk" [p=reed r=bsmedberg]

This commit is contained in:
reed@reedloden.com 2007-08-13 22:56:23 -07:00
Родитель 099a6eeef5
Коммит 4d1b0b31d3
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -87,10 +87,7 @@
var list = document.getElementById("aboutPageList");
var listItem = list.appendChild(document.createElement("li"));
listItem.appendChild(document.createTextNode("&about.buildIdentifier;"));
// replace the shortened 8-digit build id in the UA with the full 10-digit
// build id from navigator.buildID
var newUA = ua.replace(/\/\d{8}/, "/" + navigator.buildID);
listItem.appendChild(document.createTextNode(newUA));
listItem.appendChild(document.createTextNode(ua));
}
</script>
</ul>