From 3ca621a38642bfd8fc2bfd308f489cc2d9e76fb0 Mon Sep 17 00:00:00 2001 From: Skyiesac Date: Tue, 31 Mar 2026 18:18:18 +0530 Subject: Fixed #36458 -- Trapped focus in the admin calendar and clock widgets. --- js_tests/admin/DateTimeShortcuts.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js_tests/admin') diff --git a/js_tests/admin/DateTimeShortcuts.test.js b/js_tests/admin/DateTimeShortcuts.test.js index fae84b72c2..865aed2e68 100644 --- a/js_tests/admin/DateTimeShortcuts.test.js +++ b/js_tests/admin/DateTimeShortcuts.test.js @@ -24,7 +24,7 @@ QUnit.test("init", function (assert) { const shortcuts = $(".datetimeshortcuts"); assert.equal(shortcuts.length, 1); assert.equal(shortcuts.find("a:first").text(), "Today"); - assert.equal(shortcuts.find("a:last .date-icon").length, 1); + assert.equal(shortcuts.find("button:last .date-icon").length, 1); // To prevent incorrect timezone warnings on date/time widgets, timezoneOffset // should be 0 when a timezone offset isn't set in the HTML body attribute. -- cgit v1.3