From: ysds Date: Thu, 25 Jun 2020 15:56:10 +0000 (+0900) Subject: Backport #30326 (Unit test) X-Git-Tag: v4.5.1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a6cfeb36e57f73d21b33926039f9ffb2fb5c465;p=thirdparty%2Fbootstrap.git Backport #30326 (Unit test) --- diff --git a/js/tests/unit/modal.js b/js/tests/unit/modal.js index 5434987d8b..3920fe387f 100644 --- a/js/tests/unit/modal.js +++ b/js/tests/unit/modal.js @@ -959,4 +959,21 @@ $(function () { keyboard: false }) }) + + QUnit.test('should not overflow when clicking outside of modal-content if backdrop = static', function (assert) { + assert.expect(1) + var done = assert.async() + var $modal = $('