From: Heinrich Fenkart Date: Wed, 22 Oct 2014 20:09:58 +0000 (+0200) Subject: Fix IE8 unit test breakage introduced by #14767 X-Git-Tag: v3.3.0~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c98dd35bafd4788d42eb3b083ef8d2defcdcf66;p=thirdparty%2Fbootstrap.git Fix IE8 unit test breakage introduced by #14767 --- 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'