diff --git a/r2/r2/lib/template_helpers.py b/r2/r2/lib/template_helpers.py index e4070f2b3..7e383880e 100755 --- a/r2/r2/lib/template_helpers.py +++ b/r2/r2/lib/template_helpers.py @@ -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..."), diff --git a/r2/r2/templates/link.html b/r2/r2/templates/link.html index b56d04b59..05da43d24 100755 --- a/r2/r2/templates/link.html +++ b/r2/r2/templates/link.html @@ -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 '')} - <%def name="midcol(display=True, cls = '')">