fix title

This commit is contained in:
Kevin Gibbons 2022-12-02 21:28:28 -08:00
parent b19b09bb84
commit a2e167c9cf
1 changed files with 2 additions and 2 deletions

View File

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