We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea3739e + 06b6408 commit 34b5525Copy full SHA for 34b5525
assets/javascript/download.js
@@ -46,7 +46,9 @@ function updateFileLinks(option, language) {
46
files.forEach(function(file) {
47
var extension = file.substr(file.lastIndexOf('.') + 1);
48
parentNode.querySelector(".download-button." + extension).href = file;
49
- parentNode.querySelector(".installer-button").setAttribute(extension + "file", file);
+ if (parentNode.querySelector(".installer-button") !== null){
50
+ parentNode.querySelector(".installer-button").setAttribute(extension + "file", file);
51
+ }
52
});
53
}
54
0 commit comments