aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/tests/unit/dropdown.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tests/unit/dropdown.js b/js/tests/unit/dropdown.js
index 69428b610..fc418f521 100644
--- a/js/tests/unit/dropdown.js
+++ b/js/tests/unit/dropdown.js
@@ -451,7 +451,7 @@ $(function () {
$dropdown.trigger($.Event('keydown', { which: 40 }))
$dropdown.trigger($.Event('keydown', { which: 40 }))
- assert.ok(!$(document.activeElement).parent().is('.disabled'), '.disabled is not focused')
+ assert.ok(!$(document.activeElement).is('.disabled'), '.disabled is not focused')
})
QUnit.test('should not close the dropdown if the user clicks on a text field', function (assert) {