diff --git a/django/conf/admin_media/js/admin/DateTimeShortcuts.js b/django/conf/admin_media/js/admin/DateTimeShortcuts.js index 3909754928..a1afd2a6fa 100644 --- a/django/conf/admin_media/js/admin/DateTimeShortcuts.js +++ b/django/conf/admin_media/js/admin/DateTimeShortcuts.js @@ -171,7 +171,6 @@ var DateTimeShortcuts = { dismissCalendar: function(num) { document.getElementById(DateTimeShortcuts.calendarDivName1+num).style.display = 'none'; - window.onclick = null; }, drawPrev: function(num) { @@ -196,7 +195,7 @@ var DateTimeShortcuts = { cancelEventPropagation: function(e) { if (!e) var e = window.event; e.cancelBubble = true; - if (e.stripPropagation) e.stopPropagation(); + if (e.stopPropagation) e.stopPropagation(); } }