60f7ed1
@@ -214,6 +214,7 @@
},
// Handle the dropdown for architectures
toggleArch: function (e) {
+ e.preventDefault();
coreos_download_app.architecture = e.target.text
const currentShownKey = Object.keys(IdPool).find(key => IdPool[key] === coreos_download_app.shownId);
const downloadPageUrl = window.location.href.match(/^.*\/coreos\/download/)[0];
Minor followup to #199. This prevents the # href to be taken literally and causing the page to jump back to the top when changing arches.
#
LGTM
Pull-Request has been merged by dustymabe
Minor followup to #199. This prevents the
#
href to be taken literallyand causing the page to jump back to the top when changing arches.