2018-10-08 22:52:45 -04:00
|
|
|
!function(e){var t=function(){var e=document.getElementById("post-revisions"),n=e?e.getElementsByTagName("input"):[];e.onclick=function(){var e,t,i=0;for(e=0;e<n.length;e++)i+=n[e].checked?1:0,t=n[e].getAttribute("name"),n[e].checked||!("left"==t&&i<1||"right"==t&&1<i&&(!n[e-1]||!n[e-1].checked))||n[e+1]&&n[e+1].checked&&"right"==n[e+1].getAttribute("name")?"left"!=t&&"right"!=t||(n[e].style.visibility="visible"):n[e].style.visibility="hidden"},e.onclick()};e&&e.addEventListener?e.addEventListener("load",t,!1):e&&e.attachEvent&&e.attachEvent("onload",t)}(window);
|