Commit 9a67b4f1 authored by Mark Harding's avatar Mark Harding

(fix): do not loop navigation when on full media page

1 merge request!510[Sprint/LuckyLizard](fix): Play videos within activity if not canary
Pipeline #78073507 running with stages
......@@ -413,7 +413,7 @@ export class MindsVideoComponent implements OnDestroy {
}
// Mobile (not tablet) users go to media page instead of modal
if (isMobile() && Math.min(screen.width, screen.height) < 768) {
if (isMobile() && !isMediaPage && Math.min(screen.width, screen.height) < 768) {
this.router.navigate([`/media/${this.guid}`]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment