cookutils view lighttpd/listing.js @ rev 1085

cook: copy(): remove /usr/share/mimelnk/ from @std
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jul 19 18:24:29 2018 +0300 (2018-07-19)
parents
children
line source
1 // Click on header return us to the package page
2 function setLink() {
3 document.getElementsByTagName("h2")[0].onclick = function() {
4 location.href = location.pathname.replace(/\/browse\/.*/, "");
5 }
6 }
7 document.addEventListener("DOMContentLoaded", setLink);