mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 08:48:18 -05:00
Tikkit terms: automatically show if linked to
This commit is contained in:
@@ -28,6 +28,15 @@
|
||||
<%namespace file="utils.html" import="_md"/>
|
||||
<%inherit file="reddit.html"/>
|
||||
|
||||
<%def name="javascript_bottom()">
|
||||
${parent.javascript_bottom()}
|
||||
<script type="text/javascript">
|
||||
if (window.location.hash == '#terms') {
|
||||
$('#giveaway-rules').show()
|
||||
}
|
||||
</script>
|
||||
</%def>
|
||||
|
||||
<%def name="stylesheet()">
|
||||
${parent.stylesheet()}
|
||||
${less_stylesheet('goldinfo.less')}
|
||||
|
||||
Reference in New Issue
Block a user