1
0
mirror of https://github.com/django/django.git synced 2025-02-28 19:44:35 +00:00

Removed lone usage of jQuery in admin's calendar.js

This commit is contained in:
Claude Paroz 2017-08-26 18:00:20 +02:00
parent 4b67e8dc75
commit 8275662a24

View File

@ -103,7 +103,7 @@ depends on core.js for utility functions like removeChildren or quickElement
function calendarMonth(y, m) { function calendarMonth(y, m) {
function onClick(e) { function onClick(e) {
e.preventDefault(); e.preventDefault();
callback(y, m, django.jQuery(this).text()); callback(y, m, this.textContent);
} }
return onClick; return onClick;
} }