Title: Struggeling with LiteSpeed javascript delay
Last modified: July 25, 2025

---

# Struggeling with LiteSpeed javascript delay

 *  Resolved [chartnet](https://wordpress.org/support/users/chartnet/)
 * (@chartnet)
 * [11 months ago](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/)
 * Edit: This may be related to: [https://wordpress.org/support/topic/elementor-popups-not-working-3/](https://wordpress.org/support/topic/elementor-popups-not-working-3/)
 * Hello,
 * I have been struggeling for hours now, so now i seek some help here. I face problems
   with Elementor popups/dialogs and Javascript delay.
 * **Issue:On mobile it takes 2 clicks to open the mobile menu, where it should 
   be one click.
 * **What i’ve tested so far:**
    1. When Javascript delay is deactivated it works
    2. Excluding whole wp-content folder, plugins folder and elementor does not seem
       to work (which is weird to me).
 * I have found that the following files are included to get the popup to work:
 *     ```wp-block-code
       /wp-content/plugins/elementor/assets/js/webpack.runtime.min.js/wp-content/plugins/elementor/assets/js/frontend-modules.min.js/wp-content/plugins/elementor/assets/js/frontend.min.js/wp-includes/js/jquery/jquery.min.js/wp-content/plugins/pro-elements/assets/js/webpack-pro.runtime.min.js/wp-content/plugins/pro-elements/assets/js/frontend.min.js/wp-content/plugins/pro-elements/assets/js/elements-handlers.min.js
       ```
   
 * Excluded all of them. This is my exclude list:
 *     ```wp-block-code
       jquery.jsjquery.min.jsjquery.smartmenus.min.jswebpack.runtime.min.jswebpack-pro.runtime.min.jsfrontend.min.jsfrontend-modules.min.jselements-handlers.min.jselementorFrontendConfigElementorProFrontendConfigimagesloaded.min.js#sharethis.jsswiper-bundle.min.jsswiper.min.jssingle-product.min.jsjquery.flexslider.min.jsmain.min.js/above-the-fold.min.js/wp-includes/wp-content/themes/dt-the7/js/wp-content/themes/dt-the7/lib/wp-includes/js/dist/wp-includes/js/jquery/dtLocaldtShare
       ```
   
 * I do think there is another thing involved (but not sure), that is that i test
   on iPhone.. iPhone sometimes uses a double click feature because of hover states
   on buttons. But im not able to test on Android here. This is just a theory
 * Report number: **MGJUFCVY**
 * Best regards,
   Chartnet
    -  This topic was modified 11 months ago by [chartnet](https://wordpress.org/support/users/chartnet/).

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/page/2/?output_format=md)

 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [11 months ago](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/#post-18571451)
 * [@chartnet](https://wordpress.org/support/users/chartnet/) see this Github issue:
   [https://github.com/litespeedtech/lscache_wp/issues/877](https://github.com/litespeedtech/lscache_wp/issues/877)
 *  Thread Starter [chartnet](https://wordpress.org/support/users/chartnet/)
 * (@chartnet)
 * [11 months ago](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/#post-18571626)
 * [@litetim](https://wordpress.org/support/users/litetim/)
 * The commit you shared “[https://github.com/timotei-litespeed/lscache_wp/commit/3b14213308a950a18263a2082beeb77dedd14fb6](https://github.com/timotei-litespeed/lscache_wp/commit/3b14213308a950a18263a2082beeb77dedd14fb6)”
   does not fix the issue for me.
 * It introduced the same issue mark is experiencing here: [https://www.loom.com/share/97ef5644c7aa4359b2444e1442a41f9e?sid=00fdc5c5-4e50-44d0-b748-062991775984](https://www.loom.com/share/97ef5644c7aa4359b2444e1442a41f9e?sid=00fdc5c5-4e50-44d0-b748-062991775984)
 * I updated back to Litespeed latest version. Mobile just does not open now first
   time. Also your commit reverts back to 7.2, where 7.3 includes a crawler fixed
   by qtwrk which i mentioned😅
 * Let me know your thoughts on this.
 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/#post-18574239)
 * [@chartnet](https://wordpress.org/support/users/chartnet/) Ok, no problem 🙂
   
   Now is 7.3 with your working settings, yes? Report should reflect those changes:**
   MGJUFCVY**
    -  This reply was modified 10 months, 3 weeks ago by [litetim](https://wordpress.org/support/users/litetim/).
 *  Thread Starter [chartnet](https://wordpress.org/support/users/chartnet/)
 * (@chartnet)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/#post-18574351)
 * Hi [@litetim](https://wordpress.org/support/users/litetim/) ,
 * I set it to defer instead of delay. This is workable for now, but i want to switch
   to delay. With delay the bug results.
 * The shared commits do not provide a solution for delay for me. The bug persists.
 * Let me know if there is an update on this issue. I think this is a pretty important
   one.
 *  Thread Starter [chartnet](https://wordpress.org/support/users/chartnet/)
 * (@chartnet)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/#post-18631481)
 * [@litetim](https://wordpress.org/support/users/litetim/) any updates on this 
   case? It will really help me improve my site, but currently because of issues
   i can not use the delay function.
 * Last comment was end of july..
 * Let me know.
 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/#post-18632338)
 * [@chartnet](https://wordpress.org/support/users/chartnet/) 
   Try this dev build:
   [https://github.com/timotei-litespeed/lscache_wp/commit/c3f67c0c4fae2fcfde7081f8764765990f90a210](https://github.com/timotei-litespeed/lscache_wp/commit/c3f67c0c4fae2fcfde7081f8764765990f90a210)
   in LSC => Toolbox => Beta test.Set JS to Delay and see if the your issue if fixed
 *  Thread Starter [chartnet](https://wordpress.org/support/users/chartnet/)
 * (@chartnet)
 * [9 months ago](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/#post-18649754)
 * [@litetim](https://wordpress.org/support/users/litetim/) sorry it took a while.
   I didn’t have an opportunity to test this. I now had.. but it seems to glitch.
   I hope i can explain without having to make a video.
 * The issue is that when i click it now it opens.. but its closes right away. It
   seems to be spacing while opening and closes right up.
 * Reverted it back now.
 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [9 months ago](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/#post-18653324)
 * [@chartnet](https://wordpress.org/support/users/chartnet/) thank you for the 
   test
 *  Thread Starter [chartnet](https://wordpress.org/support/users/chartnet/)
 * (@chartnet)
 * [8 months ago](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/#post-18686355)
 * [@litetim](https://wordpress.org/support/users/litetim/) any feedback?
 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [8 months ago](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/#post-18688398)
 * [@chartnet](https://wordpress.org/support/users/chartnet/) can we test new commit:
   [https://github.com/timotei-litespeed/lscache_wp/commit/13eb0a7d85eae01dddbebaed530f498a7d789464](https://github.com/timotei-litespeed/lscache_wp/commit/13eb0a7d85eae01dddbebaed530f498a7d789464)
   
   Same procedure: LSC => Toolbox => Beta Test
 *  Thread Starter [chartnet](https://wordpress.org/support/users/chartnet/)
 * (@chartnet)
 * [8 months ago](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/#post-18689903)
 * [@litetim](https://wordpress.org/support/users/litetim/) the annoying bug seems
   to be gone. What seems to introduce is double tap on the open icon for mobile
   menu. I have to tap twice to open it.
 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [8 months ago](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/#post-18689936)
 * [@chartnet](https://wordpress.org/support/users/chartnet/) 
   Seems we are on the
   good way 🙂Question: always double tap to open? or just first time when page 
   loaded?
 *  Thread Starter [chartnet](https://wordpress.org/support/users/chartnet/)
 * (@chartnet)
 * [8 months ago](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/#post-18689938)
 * [@litetim](https://wordpress.org/support/users/litetim/) good to hear.
 * Double tap is always on first load. Second time seems to work.
 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [8 months ago](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/#post-18690398)
 * [@chartnet](https://wordpress.org/support/users/chartnet/) We are talking about
   the site from report: **MGJUFCVY**
   I see that delay is turned OFF and you are
   back to 7.6.2Do you have a stage site? Please do not provide any logins.
 *  Thread Starter [chartnet](https://wordpress.org/support/users/chartnet/)
 * (@chartnet)
 * [8 months ago](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/#post-18691244)
 * [@litetim](https://wordpress.org/support/users/litetim/) you are right. A dev/
   staging would be better. Allow me some time (Today or tomorrow), will be back
   with a staging and new report number.
 * This was just a quick test. But now ads are running this is a bad idea.
 * You will hear soon!

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/page/2/?output_format=md)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fstruggeling-with-litespeed-javascript-delay%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 20 replies
 * 2 participants
 * Last reply from: [chartnet](https://wordpress.org/support/users/chartnet/)
 * Last activity: [5 months, 1 week ago](https://wordpress.org/support/topic/struggeling-with-litespeed-javascript-delay/page/2/#post-18782204)
 * Status: resolved