feat: merge with master

This commit is contained in:
vitormalencar 2021-02-25 16:25:24 +01:00
parent 7b7ce32b65
commit 4ab89f3d98
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class ClipboardAction {
* Creates a fake textarea element, sets its value from `text` property,
*/
createFakeElement() {
const isRTL = document.documentElement.getAttribute('dir') == 'rtl';
const isRTL = document.documentElement.getAttribute('dir') === 'rtl';
this.fakeElem = document.createElement('textarea');
// Prevent zooming on iOS