Add missing preamble to framebuster.

This commit is contained in:
Max Goodman
2011-10-05 15:31:57 -07:00
parent 5ec91a62f8
commit c2cf57007d
2 changed files with 4 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
r = r || {}
r = window.r || {}
$(function() {
r.login.ui.init()

View File

@@ -5,6 +5,9 @@
<head>
<title>escappit</title>
<% from r2.lib import js %>
<script type="text/javascript">
${js_preamble()}
</script>
${unsafe(js.use('jquery', 'reddit'))}
</head>
<body>