Skip to content

Commit

Permalink
Fix focus highlight of signature on Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
tddang-linagora authored and dab246 committed Aug 6, 2024
1 parent cab454f commit f9a36f3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/utils/javascript_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ class JavascriptUtils {
}
}
}
var browserName = getBrowserName();
var signatureButton = document.querySelector('.tmail-signature-button');
if (browserName === 'Firefox' && signatureButton) {
signatureButton.style.userSelect = 'none';
}
''';

static const String jsHandleRemoveSignature = '''
Expand Down

0 comments on commit f9a36f3

Please sign in to comment.