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