diff --git a/tabbed_admin/templates/tabbed_admin/change_form.html b/tabbed_admin/templates/tabbed_admin/change_form.html index d7d6be4..66260b4 100644 --- a/tabbed_admin/templates/tabbed_admin/change_form.html +++ b/tabbed_admin/templates/tabbed_admin/change_form.html @@ -82,7 +82,9 @@ } - })(django.jQuery); + })((typeof window.jQuery == 'undefined' && typeof window.django != 'undefined') + ? django.jQuery + : jQuery);