Fix Copy to Clipboard Button

10.8-maintenance
Mark Haslinghuis 2020-11-23 17:26:17 +01:00
parent ab60d5ffe0
commit 28f2193593
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ function copyToClipboard(text) {
function onCopySuccessful() {
analytics.sendEvent(analytics.EVENT_CATEGORIES.FLIGHT_CONTROLLER, 'CliCopyToClipboard', text.length);
const button = self.GUI.copyButton;
const button = TABS.cli.GUI.copyButton;
const origText = button.text();
const origWidth = button.css("width");
button.text(i18n.getMessage("cliCopySuccessful"));