summaryrefslogtreecommitdiffstats
path: root/userContent/reproducible/static/pkgset.js
blob: 530679a3f28caa88a1c453bf871a536d62fff5ee (plain)
1
2
3
4
5
6
7
8
9
window.onload = function () {
	var userAgent = navigator.userAgent.toLowerCase();
	var version = /firefox\/(\d+)/.exec(userAgent);
	if (!version || (version.length === 2 && version[1] > 48)) {
		// Reveal the "expand-all-pkgset" button when not in firefox (where
		// summary tags are not supported)
		document.getElementById("expand-all-pkgsets").style.display='inline';
	}
}