diff --git a/static/js/utils.js b/static/js/utils.js index 1661077a..81a66740 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -255,7 +255,7 @@ pandora.clickLink = function(e) { } pandora.URL.push(e.target.pathname, true); } else { - window.open('/url=' + encodeURIComponent(e.target.href), '_blank'); + window.top.open('/url=' + encodeURIComponent(e.target.href), '_blank'); } }; @@ -274,7 +274,7 @@ pandora.createLinks = function($element) { ) { e.preventDefault(); if (isExternalLink(e.target)) { - window.open('/url=' + encodeURIComponent(e.target.href), '_blank'); + window.top.open('/url=' + encodeURIComponent(e.target.href), '_blank'); } else { pandora.clickLink(e); }