mirror of
https://github.com/tubearchivist/browser-extension.git
synced 2024-11-05 03:30:12 +00:00
fix title
This commit is contained in:
parent
b19b09bb84
commit
a2e167c9cf
@ -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, {
|
||||
|
Loading…
Reference in New Issue
Block a user