Tikkit terms: automatically show if linked to

This commit is contained in:
Chad Birch
2013-08-07 16:50:38 -06:00
committed by Logan Hanks
parent 0a88e50773
commit d00dc8d3a8

View File

@@ -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')}