forked from mrlan/EnglishPal
屏幕刷新,停止阅读
parent
d6bd24ee1c
commit
ce28b91bd5
|
@ -66,3 +66,6 @@ function onChooseClick() {
|
|||
function stopRead() {
|
||||
reader.cancel();
|
||||
}
|
||||
if (performance.navigation.type == 1) { //如果网页刷新,停止播放声音
|
||||
stopRead()
|
||||
}
|
Loading…
Reference in New Issue