better video button title

This commit is contained in:
Simon 2023-08-25 15:37:07 +07:00
parent cd5e9a8c0a
commit bf1c47843f
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -329,7 +329,7 @@ function buildVideoButton(titleContainer) {
dlButton.setAttribute('data-id', videoId);
dlButton.setAttribute('data-type', 'video');
dlButton.title = `TA download video ${videoId}`;
dlButton.title = `TA download video: ${titleContainer.innerText} [${videoId}]`;
Object.assign(dlButton.style, {
display: 'flex',