/m/ links need to open new page

This commit is contained in:
j 2025-07-08 11:41:30 +01:00
commit 8c4504d662

View file

@ -2704,6 +2704,7 @@ pandora.openURL = function(url) {
if ( if (
a.hostname == document.location.hostname a.hostname == document.location.hostname
&& !Ox.startsWith(a.pathname, '/static') && !Ox.startsWith(a.pathname, '/static')
&& !Ox.startsWith(a.pathname, '/m/')
&& ( && (
window.self == window.top window.self == window.top
|| pandora.isEmbeddableView(a.href) || pandora.isEmbeddableView(a.href)