Get this plugin working

This commit is contained in:
djmaze 2021-07-23 15:58:54 +02:00
parent 2d1f99a8ce
commit 8b760ef0d1
2 changed files with 15 additions and 21 deletions

View file

@ -6,7 +6,7 @@
const container = e.detail.viewModelDom.querySelector('#plugin-Login-BottomControlGroup'),
placeholder = 'LOGIN/LABEL_VERIFICATION_CODE';
if (container) {
container.append(Element.fromHTML('<div class="controls">'
container.prepend(Element.fromHTML('<div class="controls">'
+ '<div class="input-append">'
+ '<input name="totp_code" type="text" class="input-block-level inputIcon"'
+ ' pattern="[0-9]*" inputmode="numeric"'