From 28f21935930722b83de0f38ca79e02dd7217cfcb Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Mon, 23 Nov 2020 17:26:17 +0100 Subject: [PATCH] Fix Copy to Clipboard Button --- src/js/tabs/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/tabs/cli.js b/src/js/tabs/cli.js index dae3ff1f..000771d4 100644 --- a/src/js/tabs/cli.js +++ b/src/js/tabs/cli.js @@ -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"));