Title: JS Load
Last modified: April 12, 2020

---

# JS Load

 *  Resolved [themefour](https://wordpress.org/support/users/themefour/)
 * (@themefour)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/js-load/)
 * Hello. I tested with the site tool [https://gtmetrix.com/](https://gtmetrix.com/).
   Without using the pop-up form, but I see that the js file is loaded! This should
   not be the case, this is not the standard.
 * The file js/css should only be loaded when that option or element is used.
 * plugins/dokan-lite/assets/js/login-form-popup.js
 * Please optimize and speed up the plugin! This type of coding is not professional!!

Viewing 1 replies (of 1 total)

 *  [roshni07](https://wordpress.org/support/users/roshni07/)
 * (@roshni07)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/js-load/#post-12677445)
 * Hello [@themefour](https://wordpress.org/support/users/themefour/),
 * If you check the [link](https://github.com/weDevsOfficial/dokan/wiki/Dokan-Login-Form-Popup)
   you will see that we have some codes included so that if the users want to enable
   the pop-up on the login form they can do that. Now there are no settings on the
   back end to enable to disable the option so the codes are global and the files
   you referred will always load.
 * However, I will share your suggestion with our developers and they will check
   and necessary steps if needed and possible.
 * Thanks 🙂

Viewing 1 replies (of 1 total)

The topic ‘JS Load’ is closed to new replies.

 * ![](https://ps.w.org/dokan-lite/assets/icon-256x256.gif?rev=3239229)
 * [Dokan: AI Powered WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy](https://wordpress.org/plugins/dokan-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dokan-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dokan-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/dokan-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dokan-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dokan-lite/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [roshni07](https://wordpress.org/support/users/roshni07/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/js-load/#post-12677445)
 * Status: resolved