diff --git a/app/components/Citation.vue b/app/components/Citation.vue index 9dd6ad8..79ec296 100644 --- a/app/components/Citation.vue +++ b/app/components/Citation.vue @@ -24,14 +24,24 @@ itself.
-- {{ citationText }} --
- {{ citationBibTex }} -+
@@ -72,8 +82,10 @@ class Citation extends Vue { copyToClipboard(evt, data) { const srcElement = evt.srcElement; - const citationText = srcElement.innerText; + const citationText = srcElement.value; + console.log("citation text: ", citationText); navigator.clipboard.writeText(citationText).then(() => { + srcElement.select(); this.clipboardMessage = true; }); } diff --git a/app/components/dataset/TimeSeriesPlot.vue b/app/components/dataset/TimeSeriesPlot.vue index fe5ea8c..f3222ef 100644 --- a/app/components/dataset/TimeSeriesPlot.vue +++ b/app/components/dataset/TimeSeriesPlot.vue @@ -470,6 +470,7 @@ class TimeSeriesPlot extends Vue { this.localTemporalRangeMin, this.localTemporalRangeMax, ]; + console.log("setting temporal range editable to false"); this.isTemporalRangeEditable = false; // if yearSelected is set, clamp it to the new temporal range min / max if needed if (this.yearSelected == null) {