mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 02:10:45 +01:00
32be6f7bb7
Sets `screwIE8` to false as it is now enabled by default Files Changed: build/wp-admin/js/customize-nav-menus.min.js build/wp-admin/js/customize-widgets.min.js build/wp-includes/js/customize-loader.min.js Changelog: 2016-07-19 v2.0.0 Update uglify-js to v2.7.0. screwIE8 is enabled by default. 2016-07-19 v1.0.2 Update grunt to ^1.0.0. Fix beautify when passed as an object. Fix docs about report values. See #38199. Built from https://develop.svn.wordpress.org/trunk@39117 git-svn-id: http://core.svn.wordpress.org/trunk@39059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 line
569 B
JavaScript
1 line
569 B
JavaScript
!function(a){var b=function(){var a=document.getElementById("post-revisions"),b=a?a.getElementsByTagName("input"):[];a.onclick=function(){var a,c,d=0;for(a=0;a<b.length;a++)d+=b[a].checked?1:0,c=b[a].getAttribute("name"),b[a].checked||!("left"==c&&1>d||"right"==c&&1<d&&(!b[a-1]||!b[a-1].checked))||b[a+1]&&b[a+1].checked&&"right"==b[a+1].getAttribute("name")?"left"!=c&&"right"!=c||(b[a].style.visibility="visible"):b[a].style.visibility="hidden"},a.onclick()};a&&a.addEventListener?a.addEventListener("load",b,!1):a&&a.attachEvent&&a.attachEvent("onload",b)}(window); |