...
This commit is contained in:
@@ -55,6 +55,13 @@ port.onMessage.addListener(response => {
|
||||
var type= response["type"];
|
||||
|
||||
switch (type) {
|
||||
case "SCROLL_TOP": {
|
||||
window.scrollTo({
|
||||
top: 0,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
}
|
||||
break;
|
||||
case "SEEK_NEXT": // 5초 앞으로
|
||||
{
|
||||
let btn =
|
||||
|
||||
Reference in New Issue
Block a user