1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 00:35:26 +03:00

Fix Copy to Clipboard Button

This commit is contained in:
Mark Haslinghuis 2020-11-23 17:26:17 +01:00
parent ab60d5ffe0
commit 28f2193593

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"));