Fix the password toggle from showing up for the fake input in option.tpl
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 30 Apr 2021 08:05:00 +0000 (10:05 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 30 Apr 2021 08:05:31 +0000 (10:05 +0200)
Fixes #4040

wcfsetup/install/files/acp/templates/option.tpl

index 26a77e1f3dd03f74b8b2bac0f79766c2fe213223..cf411fe3daa2c70c5139b5b50b97e49d8eb45c4a 100644 (file)
                fake fields are a workaround for chrome autofill picking the wrong fields
                taken from http://stackoverflow.com/a/15917221
        *}
-       <input style="display:none" type="text" name="fakeusernameremembered">
-       <input style="display:none" type="password" name="fakepasswordremembered">
+       <div style="display: none;">
+               <input type="text" name="fakeusernameremembered">
+               <input type="password" name="fakepasswordremembered">
+       </div>
        
        <div class="section tabMenuContainer" data-active="{$activeTabMenuItem}" data-store="activeTabMenuItem">
                <nav class="tabMenu">