Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const doc = document.body || document.documentElement;
- const style = doc.style;
- if ( style.webkitFlexWrap == '' || style.msFlexWrap == '' || style.flexWrap == '' ) {
- doc.className += " supports-flex";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement