Bug, progress html tag in head
-
Function
show_it()
called in awp_enqueue_scripts()
action directly prints theprogress
html tag withinhead
tag 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
progress
tag 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.