mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 00:07:57 -05:00
Remove unused mappings and inline scripts.
This commit is contained in:
@@ -137,8 +137,6 @@ def js_config(extra_config=None):
|
||||
"https_endpoint": is_subdomain(request.host, g.domain) and g.https_endpoint,
|
||||
# debugging?
|
||||
"debug": g.debug,
|
||||
"vl": {},
|
||||
"sr": {},
|
||||
"status_msg": {
|
||||
"fetching": _("fetching title..."),
|
||||
"submitting": _("submitting..."),
|
||||
|
||||
@@ -177,9 +177,6 @@ ${parent.thing_data_attributes(what)} data-ups="${what.upvotes}" data-downs="${w
|
||||
${plain_link(thing.subreddit.name, thing.subreddit_path, sr_path = False,
|
||||
cname = False, _class = "subreddit hover",
|
||||
target='_blank' if thing.newwindow else '')}
|
||||
<script type="text/javascript">
|
||||
reddit.sr['${thing._fullname}'] = '${thing.subreddit._fullname}';
|
||||
</script>
|
||||
</%def>
|
||||
|
||||
<%def name="midcol(display=True, cls = '')">
|
||||
|
||||
Reference in New Issue
Block a user