Skip to content

Commit

Permalink
Fix: Video download (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirusu400 committed Apr 27, 2023
1 parent 1eda694 commit 069c1a0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/internal.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const internalPathFunctions = {
<span style="color: white; font-weight: bold">${videoType} ๋ฐ›๊ธฐ #${i + 1}</span>
</a>
`;
document.querySelector('.mvtopba > label:last-of-type').after(labelElement);
document.querySelector('.mvtopba1 > label:last-of-type').after(labelElement);
}

// ์Šฌ๋ผ์ด๋“œ ๋‹ค์šด๋กœ๋“œ, ๋งˆ์ฐฌ๊ฐ€์ง€๋กœ ๋ฐฑ๊ทธ๋ผ์šด๋“œ ์ด์šฉ
Expand Down Expand Up @@ -118,7 +118,7 @@ export const internalPathFunctions = {
}
}
}
document.querySelector('.mvtopba > label:last-of-type').after(labelElement);
document.querySelector('.mvtopba1 > label:last-of-type').after(labelElement);
})

});
Expand Down
10 changes: 9 additions & 1 deletion src/routes/take-lecture.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
*/

export default () => {
// ๊ฐ์ข… interval ํ•จ์ˆ˜ ์ œ๊ฑฐ
const removeInterval = setInterval(() => {
if (interval) {
clearInterval(interval);
clearInterval(removeInterval);
}
}, 300);

// ๋‹จ์ถ•ํ‚ค ์•ˆ๋‚ด ์ถ”๊ฐ€
(() => {
$('body').append(`
Expand Down Expand Up @@ -38,7 +46,7 @@ export default () => {
top: '1px',
});

$('.mvtopba > label:last-of-type').after(`
$('.mvtopba1 > label:last-of-type').after(`
<label>
<a href="#modal-keyboard-shortcut" rel="modal:open" style="background-color: #8e44ad; padding: 10px; text-decoration: none">
<span style="color: white; font-weight: bold; margin-left: 4px">๋‹จ์ถ•ํ‚ค ์•ˆ๋‚ด</span>
Expand Down

0 comments on commit 069c1a0

Please sign in to comment.