Skip to content

Commit c64c2a6

Browse files
committed
视频弹出窗口关闭后页面停在原位置(window.location.hash='space'
1 parent f85e15d commit c64c2a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/projects/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export const VideoRow = function ({title, videos, ...props}) {
6363
}
6464

6565
function closeModal() {
66-
window.location.hash = ''
66+
window.location.hash = ' '
6767

6868
let player = videojs.getPlayer('my-video')
6969
if (player) {

0 commit comments

Comments
 (0)