diff options
Diffstat (limited to 'horizon/static/horizon/js/horizon.forms.js')
-rw-r--r-- | horizon/static/horizon/js/horizon.forms.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/horizon/static/horizon/js/horizon.forms.js b/horizon/static/horizon/js/horizon.forms.js index 27a7e9bd6..c7c9431fc 100644 --- a/horizon/static/horizon/js/horizon.forms.js +++ b/horizon/static/horizon/js/horizon.forms.js @@ -228,7 +228,7 @@ horizon.forms.add_password_fields_reveal_buttons = function (el) { $input.closest('div').addClass("has-feedback"); $('<span>').addClass( "form-control-feedback fa fa-eye password-icon" - ).insertAfter($input).click(function () { + ).insertAfter($input).on('click', function () { var $icon = $(this); if ($input.attr('type') === 'password') { |