Skip to content

Commit

Permalink
Remove redirection in legacy frames
Browse files Browse the repository at this point in the history
  • Loading branch information
alextwoods committed Feb 28, 2024
1 parent b126c41 commit 8bf60b1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions doc-src/templates/default/fulldoc/html/frames.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@
<meta charset="utf-8">
<title><%= options.title %></title>
</head>
<script type="text/javascript">
var match = unescape(window.location.hash).match(/^#!(.+)/);
var name = match ? match[1] : '<%= url_for_main %>';
name = name.replace(/^(\w+):\/\//, '').replace(/^\/\//, '');
var url = new URL(name);
if (url.protocol !== 'javascript:') {
window.top.location = url;
}
</script>
<noscript>
<h1>Oops!</h1>
<h2>YARD requires JavaScript!</h2>
Expand Down

0 comments on commit 8bf60b1

Please sign in to comment.