cookutils view lighttpd/listing.js @ rev 1137

modules/pack: introduce *-lang packages: to make it just append SPLIT="..." by "$PACKAGE-lang"
The list of supported locales you can find still in the $WOK/slitaz-i18n/stuff/locale-pack.conf
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 02 13:36:54 2019 +0200 (2019-02-02)
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);