From 324b84c0b2246b696a2c3f758264c7d4eb986c20 Mon Sep 17 00:00:00 2001
From: Allen Lee
- {{ 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) {