toolbar: Restore frame name attributes.

This fixes the comments pane opening in a new window on Firefox.
This commit is contained in:
Max Goodman
2013-10-02 13:36:26 -07:00
parent 359f4987de
commit 0e3fdf1462

View File

@@ -36,7 +36,7 @@
${less_js()}
</head>
<body class="${'expanded' if thing.expanded else ''}" id="inner_toolbar" onload="window.frames[1].focus()">
<iframe frameborder="0" src="${add_sr('/toolbar/comments/'+thing.link._id36)}" id="reddit_panel"></iframe>
<iframe frameborder="0" src="${thing.link.url}" id="reddit_link" sandbox="allow-scripts allow-forms"></iframe>
<iframe frameborder="0" src="${add_sr('/toolbar/comments/'+thing.link._id36)}" id="reddit_panel" name="reddit_panel"></iframe>
<iframe frameborder="0" src="${thing.link.url}" id="reddit_link" name="reddit_link" sandbox="allow-scripts allow-forms"></iframe>
</body>
</html>