X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..905f7fa0606b3218402df703ffac8bf6f825dde1:/src/sponsors/widgets.py diff --git a/src/sponsors/widgets.py b/src/sponsors/widgets.py index 0ddab3809..bc8b453fc 100644 --- a/src/sponsors/widgets.py +++ b/src/sponsors/widgets.py @@ -28,6 +28,5 @@ class SponsorPageWidget(forms.Textarea): output.append(u'\n' % - (name, sponsors_js)) + output.append(u'$("#id_%s").sponsorsFooter({sponsors: [%s]}); });\n' % (name, sponsors_js)) return mark_safe(u''.join(output))