From 9e4576bca9508d5d01f3fdf518c6b50c0d110ffb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Sat, 28 May 2011 20:19:23 -0400 Subject: [PATCH] Tooltip: Alphabetized options. --- tests/unit/tooltip/tooltip_defaults.js | 2 +- ui/jquery.ui.tooltip.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unit/tooltip/tooltip_defaults.js b/tests/unit/tooltip/tooltip_defaults.js index 317ba1aa0..13daaeb67 100644 --- a/tests/unit/tooltip/tooltip_defaults.js +++ b/tests/unit/tooltip/tooltip_defaults.js @@ -1,8 +1,8 @@ commonWidgetTests( "tooltip", { defaults: { + content: function() {}, disabled: false, items: "[title]", - content: function() {}, position: { my: "left+15 center", at: "right center" diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js index f2bae00bd..236e95ae8 100644 --- a/ui/jquery.ui.tooltip.js +++ b/ui/jquery.ui.tooltip.js @@ -19,15 +19,15 @@ var increments = 0; $.widget( "ui.tooltip", { version: "@VERSION", options: { - tooltipClass: null, - items: "[title]", content: function() { return $( this ).attr( "title" ); }, + items: "[title]", position: { my: "left+15 center", at: "right center" - } + }, + tooltipClass: null }, _create: function() { -- 2.39.5