diff --git a/web/skins/classic/views/js/event.js b/web/skins/classic/views/js/event.js index 54ce5b01f..cb0e3c17f 100644 --- a/web/skins/classic/views/js/event.js +++ b/web/skins/classic/views/js/event.js @@ -450,6 +450,7 @@ function streamFastRev(action) { function streamPrev(action) { if (action) { $j(".vjsMessage").remove(); + if (vid==null) streamReq({command: CMD_QUIT}); location.replace(thisUrl + '?view=event&eid=' + prevEventId + filterQuery + sortQuery); return; @@ -484,6 +485,7 @@ function streamNext(action) { // We used to try to dynamically update all the bits in the page, which is really complex // How about we just reload the page? // + if (vid==null) streamReq({command: CMD_QUIT}); location.replace(thisUrl + '?view=event&eid=' + nextEventId + filterQuery + sortQuery); return; if (vid && ( NextEventDefVideoPath.indexOf('view_video') > 0 )) {