cookutils
annotate lighttpd/listing.js @ rev 994
modules/deps: clean files from missing legacy packages; lighttpd/index.cgi: display appropriate name/description for split packages, display fair table in "Related packages" section.
author |
Aleksej Bobylev <al.bobylev@gmail.com> |
date |
Wed Nov 01 02:49:40 2017 +0200 (2017-11-01) |
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);
|