Skip to content

Commit

Permalink
Don't execute "location.replace" when moving to next event (event.js)
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorA100 authored Sep 20, 2024
1 parent ff4256b commit fda6e1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/skins/classic/views/js/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -690,8 +690,8 @@ function streamNext(action) {
// How about we just reload the page?
//
if (vid==null) streamReq({command: CMD_QUIT});
location.replace(thisUrl + '?view=event&eid=' + nextEventId + filterQuery + sortQuery);
return;
//location.replace(thisUrl + '?view=event&eid=' + nextEventId + filterQuery + sortQuery);
//return;
if (vid && ( NextEventDefVideoPath.indexOf('view_video') > 0 )) {
// on and staying with videojs
CurEventDefVideoPath = NextEventDefVideoPath;
Expand Down

0 comments on commit fda6e1b

Please sign in to comment.