From 2ae5fdf9ddbff98c55e47b81d7150b8d960ad342 Mon Sep 17 00:00:00 2001 From: Bernardo Gurgel Filho Date: Sun, 23 Aug 2015 01:59:48 -0300 Subject: Convert tooltip's arrows to generated CSS content via :before --- js/src/tooltip.js | 1 - 1 file changed, 1 deletion(-) (limited to 'js') diff --git a/js/src/tooltip.js b/js/src/tooltip.js index aa5c73945..099a47482 100644 --- a/js/src/tooltip.js +++ b/js/src/tooltip.js @@ -28,7 +28,6 @@ const Tooltip = (($) => { const Default = { animation : true, template : '', trigger : 'hover focus', title : '', -- cgit v1.2.3 From 8ef66df6d793afbda487c1a4505d0a6576252ec4 Mon Sep 17 00:00:00 2001 From: Bernardo Gurgel Filho Date: Sun, 23 Aug 2015 17:54:38 -0300 Subject: Convert popover's arrows to generated CSS content via :before/:after --- js/src/popover.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'js') diff --git a/js/src/popover.js b/js/src/popover.js index 99e48e64f..6ea8b00fb 100644 --- a/js/src/popover.js +++ b/js/src/popover.js @@ -28,7 +28,6 @@ const Popover = (($) => { trigger : 'click', content : '', template : '' }) @@ -44,8 +43,7 @@ const Popover = (($) => { const Selector = { TITLE : '.popover-title', - CONTENT : '.popover-content', - ARROW : '.popover-arrow' + CONTENT : '.popover-content' } const Event = { -- cgit v1.2.3 From 8ece899ba84aa0061576da0c5f894821724a151f Mon Sep 17 00:00:00 2001 From: Johann-S Date: Wed, 9 Sep 2015 09:26:14 +0200 Subject: Add tests about padding restoration --- js/tests/unit/modal.js | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'js') diff --git a/js/tests/unit/modal.js b/js/tests/unit/modal.js index 6da09e3c6..d5b83a1da 100644 --- a/js/tests/unit/modal.js +++ b/js/tests/unit/modal.js @@ -334,6 +334,44 @@ $(function () { .bootstrapModal('show') }) + QUnit.test('should have a paddingRight when the modal is taller than the viewport', function (assert) { + assert.expect(2) + var done = assert.async() + $('').appendTo('#qunit-fixture') + $('.navbar-fixed-top, .navbar-fixed-bottom, .is-fixed').css('padding-right', '10px') + + $('