Fossil SCM
Removed the anti-robot defense stand-down call from the default skin's new footer JS: that's handled server-side now with /sitemap?popup=1.
Commit
7d5ff435ff8172f2b3bfab1bbcb8eef9a7263d8da2bc67d1916dc66bde6d21b6
Parent
972ae10b308f72d…
1 file changed
-3
-3
| --- skins/default/js.txt | ||
| +++ skins/default/js.txt | ||
| @@ -105,13 +105,10 @@ | ||
| 105 | 105 | var sm = doc.querySelector("ul#sitemap"); |
| 106 | 106 | if (sm && xhr.status == 200) { |
| 107 | 107 | // Got sitemap. Insert it into the drop-down panel. |
| 108 | 108 | needSitemapHTML = false; |
| 109 | 109 | panel.innerHTML = sm.outerHTML; |
| 110 | - if (window.setAllHrefs) { | |
| 111 | - setAllHrefs(); // don't need anti-robot defense here | |
| 112 | - } | |
| 113 | 110 | |
| 114 | 111 | // Display the panel |
| 115 | 112 | if (animate) { |
| 116 | 113 | // Set up a CSS transition to animate the panel open and |
| 117 | 114 | // closed. Only needs to be done once per page load. |
| 118 | 115 |
| --- skins/default/js.txt | |
| +++ skins/default/js.txt | |
| @@ -105,13 +105,10 @@ | |
| 105 | var sm = doc.querySelector("ul#sitemap"); |
| 106 | if (sm && xhr.status == 200) { |
| 107 | // Got sitemap. Insert it into the drop-down panel. |
| 108 | needSitemapHTML = false; |
| 109 | panel.innerHTML = sm.outerHTML; |
| 110 | if (window.setAllHrefs) { |
| 111 | setAllHrefs(); // don't need anti-robot defense here |
| 112 | } |
| 113 | |
| 114 | // Display the panel |
| 115 | if (animate) { |
| 116 | // Set up a CSS transition to animate the panel open and |
| 117 | // closed. Only needs to be done once per page load. |
| 118 |
| --- skins/default/js.txt | |
| +++ skins/default/js.txt | |
| @@ -105,13 +105,10 @@ | |
| 105 | var sm = doc.querySelector("ul#sitemap"); |
| 106 | if (sm && xhr.status == 200) { |
| 107 | // Got sitemap. Insert it into the drop-down panel. |
| 108 | needSitemapHTML = false; |
| 109 | panel.innerHTML = sm.outerHTML; |
| 110 | |
| 111 | // Display the panel |
| 112 | if (animate) { |
| 113 | // Set up a CSS transition to animate the panel open and |
| 114 | // closed. Only needs to be done once per page load. |
| 115 |