Put else on same line as closing brace before.

This commit is contained in:
Layal Khatib 2019-12-04 09:46:11 +02:00
parent 50c10cedc7
commit ebd30a5d0a

View file

@ -87,8 +87,7 @@ kpxcUI.setIconPosition = function(icon, field) {
icon.style.top = Pixels((rect.top + document.scrollingElement.scrollTop) + offset + 1);
if (document.dir === 'rtl') {
icon.style.left = Pixels((rect.left + document.scrollingElement.scrollLeft) + offset);
}
else {
} else {
icon.style.left = Pixels((rect.left + document.scrollingElement.scrollLeft) + field.offsetWidth - size - offset);
}
};