blob: 7b054d0bb2df34f19aeadca951634988f51819a1 (
plain)
1
2
3
4
5
6
7
8
|
// Emulate setting a location.hash if none has been set.
if(pageVars.sethash && location.hash.length <= 1) {
var e = document.getElementById(pageVars.sethash);
if(e) {
e.scrollIntoView();
e.classList.add('target');
}
}
|