diff --git a/common.js b/common.js new file mode 100644 index 0000000..6b940f5 --- /dev/null +++ b/common.js @@ -0,0 +1,6 @@ +var curators = document.getElementById('curators'); +function toggleCurators() { + curators.style.display = curators.style.display == 'none' ? 'block' : 'none'; +} +var toggle = document.getElementById('js-curators-toggle').parentNode; +toggle.onmouseenter = toggle.onmouseleave = toggleCurators; diff --git a/index.html b/index.html index 2c0c156..8233654 100644 --- a/index.html +++ b/index.html @@ -15,9 +15,16 @@