Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2014-05-29 08:35:22 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2014-06-06 02:23:07 +0400
commite2cabe4971927e3dbbbda4c81ae8f74abdee2d15 (patch)
tree086e0a8dc55a0aec974cbb38347360b5828965a8 /js/tests/unit/tooltip.js
parent82fc03f3b6caccd134827a83c346456b920f4ba8 (diff)
Minor style tweaks.
Diffstat (limited to 'js/tests/unit/tooltip.js')
-rw-r--r--js/tests/unit/tooltip.js17
1 files changed, 9 insertions, 8 deletions
diff --git a/js/tests/unit/tooltip.js b/js/tests/unit/tooltip.js
index 466f88a64b..2e175583e5 100644
--- a/js/tests/unit/tooltip.js
+++ b/js/tests/unit/tooltip.js
@@ -312,8 +312,9 @@ $(function () {
test('should show tooltip with delegate selector on click', function () {
var div = $('<div><a href="#" rel="tooltip" title="Another tooltip"></a></div>')
- div.appendTo('#qunit-fixture')
- .bootstrapTooltip({ selector: 'a[rel="tooltip"]', trigger: 'click' })
+ div.appendTo('#qunit-fixture').bootstrapTooltip({
+ selector: 'a[rel="tooltip"]', trigger: 'click'
+ })
div.find('a').trigger('click')
ok($('.tooltip').is('.fade.in'), 'tooltip is faded in')
})
@@ -443,12 +444,12 @@ $(function () {
test('tooltips should be placed dynamically, with the dynamic placement option', function () {
$.support.transition = false
var ttContainer = $('<div id="dynamic-tt-test"/>').css({
- height : 400,
- overflow : 'hidden',
- position : 'absolute',
- top : 0,
- left : 0,
- width : 600
+ height: 400,
+ overflow: 'hidden',
+ position: 'absolute',
+ top: 0,
+ left: 0,
+ width: 600
})
.appendTo('body')