}, _('Scroll to tail', 'scroll to bottom (the tail) of the log file')
);
scrollDownButton.addEventListener('click', function() {
- scrollUpButton.focus();
+ scrollUpButton.scrollIntoView();
});
var scrollUpButton = E('button', {
}, _('Scroll to head', 'scroll to top (the head) of the log file')
);
scrollUpButton.addEventListener('click', function() {
- scrollDownButton.focus();
+ scrollDownButton.scrollIntoView();
});
return E([], [
}, _('Scroll to tail', 'scroll to bottom (the tail) of the log file')
);
scrollDownButton.addEventListener('click', function() {
- scrollUpButton.focus();
+ scrollUpButton.scrollIntoView();
});
var scrollUpButton = E('button', {
}, _('Scroll to head', 'scroll to top (the head) of the log file')
);
scrollUpButton.addEventListener('click', function() {
- scrollDownButton.focus();
+ scrollDownButton.scrollIntoView();
});
return E([], [