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