diff --git a/js/background/inject/inject.js b/js/background/inject/inject.js index 35a95a0..f115888 100644 --- a/js/background/inject/inject.js +++ b/js/background/inject/inject.js @@ -32,8 +32,7 @@ $j(document).ready(function () { var left = loginFieldPos.left; var top = loginFieldPos.top; - left = ($j(form[0]).parent().css('position') !== 'static') ? position.left : left; - + if (passwordFieldPos.top > loginFieldPos.top) { //console.log('login fields below each other') top = passwordFieldPos.top + passwordField.height() + 10;