From 3c98dd35bafd4788d42eb3b083ef8d2defcdcf66 Mon Sep 17 00:00:00 2001 From: Heinrich Fenkart Date: Wed, 22 Oct 2014 22:09:58 +0200 Subject: [PATCH] Fix IE8 unit test breakage introduced by #14767 --- js/tests/unit/tooltip.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/js/tests/unit/tooltip.js b/js/tests/unit/tooltip.js index 7b5f8adf72..d05be3d554 100644 --- a/js/tests/unit/tooltip.js +++ b/js/tests/unit/tooltip.js @@ -461,7 +461,7 @@ $(function () { test('should display the tip on bottom whenever scrollable viewport doesn\'t have enough room if the given placement is "auto top"', function () { var styles = '' var $styles = $(styles).appendTo('head') @@ -487,13 +487,17 @@ $(function () { test('should display the tip on bottom whenever scrollable viewport has enough room if the given placement is "auto bottom"', function () { var styles = '' var $styles = $(styles).appendTo('head') var $container = $('
').appendTo('#qunit-fixture') var $target = $('
Tooltip Item
') .appendTo($container) + .before('
') + .after('
') .bootstrapTooltip({ placement: 'bottom auto', viewport: '#scrollable-div' -- 2.47.2