linkable maintabs

This commit is contained in:
ed 2022-01-14 19:26:07 +01:00
parent f32cca292a
commit e4e63619d4

View file

@ -204,6 +204,9 @@ ebi('tree').innerHTML = (
var ops = QSA('#ops>a');
for (var a = 0; a < ops.length; a++) {
ops[a].onclick = opclick;
var v = ops[a].getAttribute('data-dest');
if (v)
ops[a].href = '#v=' + v;
}
})();
@ -1591,6 +1594,11 @@ function eval_hash() {
i.value = uricom_dec(v.slice(3))[0];
return i.oninput();
}
if (v.indexOf('#v=') === 0) {
goto(v.slice(3));
return;
}
}