Fix table row page anchor links on API docs page.
This commit is contained in:
parent
5f5694f5ce
commit
282ff1c41c
@ -6381,7 +6381,7 @@ for (var i = 0, len = tables.length; i < len; i++) {
|
||||
if (tds[j].cellIndex === 0) {
|
||||
tds[j].parentNode.id = id + '-' + (tds[j].textContent || tds[j].innerText).split('(')[0].toLowerCase();
|
||||
tds[j].parentNode.onclick = function(e) {
|
||||
if ((window.innerWidth / 2) - e.clientX > 460) window.location.hash = '#' + this.id;
|
||||
window.location.hash = '#' + this.id;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user