From: Heinrich Fenkart Date: Wed, 17 Sep 2014 21:33:22 +0000 (+0200) Subject: Follow-up to #14581: Use div instead of HTML5 section for IE8 X-Git-Tag: v3.3.0~157 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3beeb32bb000f95b59e2bd6ca518c5fc2e797eb3;p=thirdparty%2Fbootstrap.git Follow-up to #14581: Use div instead of HTML5 section for IE8 --- diff --git a/js/tests/unit/tooltip.js b/js/tests/unit/tooltip.js index cd239f0c6c..529b6f5cf6 100644 --- a/js/tests/unit/tooltip.js +++ b/js/tests/unit/tooltip.js @@ -385,17 +385,17 @@ $(function () { test('should position tip on top if viewport has enough space and placement is "auto top"', function () { var styles = '' var $styles = $(styles).appendTo('head') - var $container = $('
').appendTo('#qunit-fixture') + var $container = $('
').appendTo('#qunit-fixture') var $target = $('
') .appendTo($container) .bootstrapTooltip({ placement: 'auto top', - viewport: 'section' + viewport: '#section' }) $target.bootstrapTooltip('show') @@ -410,17 +410,17 @@ $(function () { test('should position tip on bottom if the tip\'s dimension exceeds the viewport area and placement is "auto top"', function () { var styles = '' var $styles = $(styles).appendTo('head') - var $container = $('
').appendTo('#qunit-fixture') + var $container = $('
').appendTo('#qunit-fixture') var $target = $('
') .appendTo($container) .bootstrapTooltip({ placement: 'auto top', - viewport: 'section' + viewport: '#section' }) $target.bootstrapTooltip('show')