X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e0de41ae1e67c230ad1e67f34f6f4f76e53d7234..4f0dcd8051dc94fb0501d1664f3c4cb01d5bc8e3:/apps/sponsors/widgets.py diff --git a/apps/sponsors/widgets.py b/apps/sponsors/widgets.py index 70ddde610..e4b30bbbc 100644 --- a/apps/sponsors/widgets.py +++ b/apps/sponsors/widgets.py @@ -28,6 +28,6 @@ class SponsorPageWidget(forms.Textarea): output.append(u'\n' % + output.append(u'$("#id_%s").sponsorsFooter({sponsors: [%s]}); });\n' % (name, sponsors_js)) return mark_safe(u''.join(output))