diff --git a/Resources/Scripts/code.js b/Resources/Scripts/code.js index 86ac9650..ff80bee3 100644 --- a/Resources/Scripts/code.js +++ b/Resources/Scripts/code.js @@ -525,15 +525,13 @@ })(); // - // Block: Setup video element replacement and fix missing target in user links + // Block: Setup video element replacement. // onAppReady.push(function(){ new MutationObserver(function(){ $("video").each(function(){ $(this).parent().replaceWith("<a href='"+$(this).attr("src")+"' rel='url' target='_blank' style='display:block; border:1px solid #555; padding:3px 6px'>► Open video in browser</a>"); }); - - $("a[rel='user']").attr("target", "_blank"); }).observe($(".js-app-columns")[0], { childList: true, subtree: true