mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 08:04:49 +01:00
views: don't add head_insert for ajax requests!
This commit is contained in:
parent
a6eb604273
commit
3cb50f9823
@ -150,6 +150,9 @@ class HeadInsertView(J2TemplateView):
|
||||
def create_insert_func(self, wbrequest,
|
||||
include_ts=True):
|
||||
|
||||
if wbrequest.options['is_ajax']:
|
||||
return None
|
||||
|
||||
url = wbrequest.wb_url.get_url()
|
||||
|
||||
top_url = wbrequest.wb_prefix
|
||||
|
Loading…
x
Reference in New Issue
Block a user