diff --git a/keepassxc-browser/content/ui.js b/keepassxc-browser/content/ui.js index eafb241..1a54479 100644 --- a/keepassxc-browser/content/ui.js +++ b/keepassxc-browser/content/ui.js @@ -85,7 +85,7 @@ kpxcUI.setIconPosition = function(icon, field) { const size = Number(icon.getAttribute('size')); icon.style.top = Pixels((rect.top + document.scrollingElement.scrollTop) + offset + 1); - if (document.dir == 'rtl') { + if (document.dir === 'rtl') { icon.style.left = Pixels((rect.left + document.scrollingElement.scrollLeft) + offset); } else {