jquery - using $('html, body') vs $('html') || $('body') for animating page scroll -


does make difference, in terms of performance, animate html , body (for browser compatibility) vs sniffing out browser , using html or body.

i assume using html , body cause twice many dom traversals. if so, minimal wouldn't matter?


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -