Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author edo888

    (@edo888)

    Hi,

    You have the following code in /wp-content/themes/my-listing/assets/dist/auth.js:

    t(".login-tabs a").click(function(e) {
                e.preventDefault(),
                "register" === e.target.dataset.form ? (t(".login-form-wrap").addClass("hide"),
                t(".register-form-wrap").removeClass("hide")) : (t(".register-form-wrap").addClass("hide"),
                t(".login-form-wrap").removeClass("hide")),
                t(".login-tabs li").removeClass("active"),
                t(e.target).parents("li").addClass("active")
            })

    When the page is translated every translated text is wrapped inside 2 <font> tags, so “register” === e.target.dataset.form condition does not work correctly.

    You will need to change that code to act properly when instead of <a href="https://realstica.com/my-account-2/?register" data-form="register">Регистровати </a> you have <a href="https://realstica.com/my-account-2/?register" data-form="register"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">To register</font></font></a>.

    Alternatively you can use our paid version and it will be fine out of the box, since it does not add additional <font> tags.

    Thanks! 🙂

    Thread Starter Pavel Kozlov

    (@dsgner)

    Can you help me to fix this moment? What I need to do?
    I added <font> tags but not worked 🙁 I need to change .js file? please help me)

    Plugin Author edo888

    (@edo888)

    Hi,

    If you do not want to use our paid version then I’ll recommend you to contact your theme developer and ask for a solution. They need to change the auth.js file.

    Thanks! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Break the login form’ is closed to new replies.