mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 00:35:26 +03:00
Merge pull request #2289 from haslinghuis/fix-cli-copy-button
Fix Copy to Clipboard Button
This commit is contained in:
commit
ed9192f46e
1 changed files with 1 additions and 1 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue