From 8275662a24348c2c18797c2121df566494284d5d Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 26 Aug 2017 18:00:20 +0200 Subject: [PATCH] Removed lone usage of jQuery in admin's calendar.js --- django/contrib/admin/static/admin/js/calendar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/admin/static/admin/js/calendar.js b/django/contrib/admin/static/admin/js/calendar.js index 57655602ee..36480994cc 100644 --- a/django/contrib/admin/static/admin/js/calendar.js +++ b/django/contrib/admin/static/admin/js/calendar.js @@ -103,7 +103,7 @@ depends on core.js for utility functions like removeChildren or quickElement function calendarMonth(y, m) { function onClick(e) { e.preventDefault(); - callback(y, m, django.jQuery(this).text()); + callback(y, m, this.textContent); } return onClick; }