2019-10-05 15:49:10 -04:00
|
|
|
!function(e){function t(){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);
|