From 0fccbd14f51589621ad3333c46276edffcc08f28 Mon Sep 17 00:00:00 2001 From: Allen Bai Date: Jan 20 2020 19:31:35 +0000 Subject: coreos-download: rename option_default to option_stable Signed-off-by: Allen Bai --- diff --git a/sites/static/js/coreos-download.js b/sites/static/js/coreos-download.js index 3ee7e03..c55d60e 100644 --- a/sites/static/js/coreos-download.js +++ b/sites/static/js/coreos-download.js @@ -166,7 +166,7 @@ var coreos_download_app = new Vue({ // Add dropdown options of streams getStreamName: function(h) { if (this.streamData === null) return; - option_default = h('option', { attrs: { value: "stable", selected: this.stream === "stable" ? "selected" : null }}, "stable"); + option_stable = h('option', { attrs: { value: "stable", selected: this.stream === "stable" ? "selected" : null }}, "stable"); option_testing = h('option', { attrs: { value: "testing", selected: this.stream === "testing" ? "selected" : null }}, "testing"); selectOptions = h('select', { class: "mx-1", @@ -176,7 +176,7 @@ var coreos_download_app = new Vue({ } } }, [ - option_default, + option_stable, option_testing ]); streamName = h('p', {}, [