fix title

This commit is contained in:
Kevin Gibbons 2022-12-02 21:28:28 -08:00
parent b19b09bb84
commit a2e167c9cf

View File

@ -228,12 +228,12 @@ function buildVideoButton(thumbContainer) {
console.log('download: ' + videoLink); console.log('download: ' + videoLink);
sendUrl(videoLink, 'download', dlButton); sendUrl(videoLink, 'download', dlButton);
}); });
ggp.addEventListener('mouseover', e => { ggp.addEventListener('mouseover', () => {
Object.assign(dlButton.style, { Object.assign(dlButton.style, {
opacity: 1, opacity: 1,
}); });
let videoTitle = thumbContainer.href; let videoTitle = thumbContainer.href;
e.target.title = 'TA download: ' + videoTitle; dlButton.title = 'TA download: ' + videoTitle;
}); });
ggp.addEventListener('mouseout', () => { ggp.addEventListener('mouseout', () => {
Object.assign(dlButton.style, { Object.assign(dlButton.style, {