mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-25 01:05:15 +03:00
Fix Copy to Clipboard Button
This commit is contained in:
parent
ab60d5ffe0
commit
28f2193593
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ function copyToClipboard(text) {
|
||||||
function onCopySuccessful() {
|
function onCopySuccessful() {
|
||||||
|
|
||||||
analytics.sendEvent(analytics.EVENT_CATEGORIES.FLIGHT_CONTROLLER, 'CliCopyToClipboard', text.length);
|
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 origText = button.text();
|
||||||
const origWidth = button.css("width");
|
const origWidth = button.css("width");
|
||||||
button.text(i18n.getMessage("cliCopySuccessful"));
|
button.text(i18n.getMessage("cliCopySuccessful"));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue