mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 14:57:26 +08:00
Resolve issue #150
This commit is contained in:
parent
4fff41580e
commit
db8ba85350
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
if (forgotUrl || registerUrl) {
|
if (forgotUrl || registerUrl) {
|
||||||
addEventListener('rl-view-model', e => {
|
addEventListener('rl-view-model', e => {
|
||||||
if (e.detail && 'Login' === e.detail.viewModelTemplateID) {
|
if (e.detail && 'Login' === e.detail.templateId) {
|
||||||
const container = e.detail.viewModelDom.querySelector('#plugin-Login-BottomControlGroup'),
|
const container = e.detail.viewModelDom.querySelector('#plugin-Login-BottomControlGroup'),
|
||||||
forgot = 'LOGIN/LABEL_FORGOT_PASSWORD',
|
forgot = 'LOGIN/LABEL_FORGOT_PASSWORD',
|
||||||
register = 'LOGIN/LABEL_REGISTRATION';
|
register = 'LOGIN/LABEL_REGISTRATION';
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
(rl => {
|
(rl => {
|
||||||
|
|
||||||
rl && addEventListener('rl-view-model', e => {
|
rl && addEventListener('rl-view-model', e => {
|
||||||
if (e.detail && 'Login' === e.detail.viewModelTemplateID) {
|
if (e.detail && 'Login' === e.detail.templateId) {
|
||||||
const container = e.detail.viewModelDom.querySelector('#plugin-Login-BottomControlGroup'),
|
const container = e.detail.viewModelDom.querySelector('#plugin-Login-BottomControlGroup'),
|
||||||
placeholder = 'LOGIN/LABEL_TWO_FACTOR_CODE';
|
placeholder = 'LOGIN/LABEL_TWO_FACTOR_CODE';
|
||||||
if (container) {
|
if (container) {
|
||||||
|
|
Loading…
Reference in a new issue