You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i notice that you replace DOMContentLoaded with DOMContentLiteSpeedLoaded
but not for load event
so some codes not runnig that depend on "load" event
i check and see that you try to fix this issue but it's commented for now:
Update:
i know that load and DOMContentLoaded has small difference in logic but in case we want to delay load all js it is not matter to use DOMContentLoaded instead of load event. so replace it with DOMContentLiteSpeedLoaded does not make a problem (i think). in my test everything is works fine
The text was updated successfully, but these errors were encountered:
AkramiPro
changed the title
fix js delayd bug for load event
fix js delayed bug for load event
Mar 13, 2024
i notice that you replace
DOMContentLoaded
withDOMContentLiteSpeedLoaded
but not for
load
eventso some codes not runnig that depend on "load" event
i check and see that you try to fix this issue but it's commented for now:
i try this code and it's fix the problem
Update:
i know that
load
andDOMContentLoaded
has small difference in logic but in case we want to delay load all js it is not matter to useDOMContentLoaded
instead ofload
event. so replace it withDOMContentLiteSpeedLoaded
does not make a problem (i think). in my test everything is works fineThe text was updated successfully, but these errors were encountered: