Ensure reveal indicator is always inserted right after the input node
This commit is contained in:
@@ -31,8 +31,9 @@ angular.module('Application').directive('passwordReveal', function () {
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
element.parentNode.style.position = 'relative';
|
||||
element.parentNode.append(eye);
|
||||
element.parentNode.insertBefore(eye, element.nextSibling);
|
||||
}
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user