From 18c0a1c9774e0b726813b578a5046a30d0681e33 Mon Sep 17 00:00:00 2001 From: Heinrich Fenkart Date: Wed, 30 Jul 2014 23:54:25 +0200 Subject: Revert "Use mousedown instead of click for backdrop click detection; fixes #13816" --- js/tests/unit/modal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/tests') diff --git a/js/tests/unit/modal.js b/js/tests/unit/modal.js index 6c48ed44b..2262465a4 100644 --- a/js/tests/unit/modal.js +++ b/js/tests/unit/modal.js @@ -141,7 +141,7 @@ $(function () { notEqual($('#modal-test').length, 0, 'modal insterted into dom') $('.contents').click() ok($('#modal-test').is(':visible'), 'modal visible') - $('#modal-test').mousedown() + $('#modal-test').click() }) .on('hidden.bs.modal', function () { ok(!$('#modal-test').is(':visible'), 'modal hidden') @@ -196,7 +196,7 @@ $(function () { $('