mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-18 16:45:31 +01:00
afd36de0b5
This updates the following dependencies to their latest versions: - `chalk` - `cssnano` - `dotenv` - `grunt-contrib-cssmin` - `grunt-contrib-qunit` - `grunt-webpack` - `jest-image-snapshot` - `postcss` - `sass` - `sinon` - `webpack` Additionally, `npm audit fix` has been run to automatically fix as many issues as possible. See #58863. Built from https://develop.svn.wordpress.org/trunk@56390 git-svn-id: http://core.svn.wordpress.org/trunk@55902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 line
583 B
JavaScript
1 line
583 B
JavaScript
(()=>{"use strict";const n=n=>{let e;try{e=new window.ActiveXObject(n)}catch(n){e=void 0}return e};document.addEventListener("DOMContentLoaded",(()=>{if(window.navigator.userAgent.indexOf("Mobi")>-1||window.navigator.userAgent.indexOf("Android")>-1||window.navigator.userAgent.indexOf("Macintosh")>-1&&window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>2||(window.ActiveXObject||"ActiveXObject"in window)&&!n("AcroPDF.PDF")&&!n("PDF.PdfCtrl")){const n=document.getElementsByClassName("wp-block-file__embed");Array.from(n).forEach((n=>{n.style.display="none"}))}}))})(); |