X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..37e0abac697f5dee3c1301eb3b6f94de7a3104fb:/src/sponsors/widgets.py?ds=inline 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))