From: Chris Rebert Date: Tue, 8 Jul 2014 21:39:35 +0000 (-0700) Subject: Fix invalid HTML in "should allow html entities" tooltip unit test X-Git-Tag: v3.3.0~353^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14091%2Fhead;p=thirdparty%2Fbootstrap.git Fix invalid HTML in "should allow html entities" tooltip unit test Refs #14090. Also, fix one typo. --- diff --git a/js/tests/unit/tooltip.js b/js/tests/unit/tooltip.js index a266b96eab..4cecf9348e 100644 --- a/js/tests/unit/tooltip.js +++ b/js/tests/unit/tooltip.js @@ -92,7 +92,7 @@ $(function () { }) test('should allow html entities', function () { - var $tooltip = $('') + var $tooltip = $('') .appendTo('#qunit-fixture') .bootstrapTooltip({ html: true }) @@ -513,7 +513,7 @@ $(function () { }) $tooltip.bootstrapTooltip('show') - equal($('.tooltip').children('.tooltip-inner').text(), 'Simple tooltip', 'title is set from title attribute while prefered over title option') + equal($('.tooltip').children('.tooltip-inner').text(), 'Simple tooltip', 'title is set from title attribute while preferred over title option') $tooltip.bootstrapTooltip('hide') equal($('.tooltip').length, 0, 'tooltip removed from dom')