Bug, progress html tag in head
-
Function
show_it()called in awp_enqueue_scripts()action directly prints theprogresshtml tag withinheadtag of page.This causes a) flash of unstyled content (FOUC) and b) error in html validators.
Example: https://catchthemes.com/demo/catch-scroll-progress-bar/ (line 8)
Suggested fix: Add
progresstag via script to DOM or output in footer area.Catch Scroll Progress Bar 1.6.1
The topic ‘Bug, progress html tag in head’ is closed to new replies.