X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..a0655bd8dbfc709524e24581309618f92225d216:/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))