cookutils annotate lighttpd/listing.js @ rev 1090

Working with "i486", "x86_64" and "any" architecture; post-check with badges; new icons, tag cloud, and other improvements
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 24 13:28:02 2018 +0200 (2018-11-24)
parents
children
rev   line source
al@898 1 // Click on header return us to the package page
al@898 2 function setLink() {
al@898 3 document.getElementsByTagName("h2")[0].onclick = function() {
al@898 4 location.href = location.pathname.replace(/\/browse\/.*/, "");
al@898 5 }
al@898 6 }
al@898 7 document.addEventListener("DOMContentLoaded", setLink);