jQuery(document).ready(function ($) { 'use strict'; let $form = $('.vi-wad-auth-form'); if ($form.length > 0) { $form.submit(); } });