aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/autocomplete/combobox.html6
-rw-r--r--demos/tooltip/video-player.html6
-rw-r--r--tests/visual/tooltip/tooltip.html10
3 files changed, 7 insertions, 15 deletions
diff --git a/demos/autocomplete/combobox.html b/demos/autocomplete/combobox.html
index 9fc997c11..afe301349 100644
--- a/demos/autocomplete/combobox.html
+++ b/demos/autocomplete/combobox.html
@@ -78,10 +78,8 @@
.tooltip()
.appendTo( this.wrapper )
.button({
- icons: {
- primary: "ui-icon-triangle-1-s"
- },
- text: false
+ icon: "ui-icon-triangle-1-s",
+ showLabel: false
})
.removeClass( "ui-corner-all" )
.addClass( "custom-combobox-toggle ui-corner-right" )
diff --git a/demos/tooltip/video-player.html b/demos/tooltip/video-player.html
index 74db642aa..c7601b747 100644
--- a/demos/tooltip/video-player.html
+++ b/demos/tooltip/video-player.html
@@ -63,10 +63,8 @@
$( "button" ).each(function() {
var button = $( this ).button({
- icons: {
- primary: $( this ).data( "icon" )
- },
- text: !!$( this ).attr( "title" )
+ icon: $( this ).data( "icon" ),
+ showLabel: !!$( this ).attr( "title" )
});
button.not( ".menu" ).on( "click", function() {
notify( button );
diff --git a/tests/visual/tooltip/tooltip.html b/tests/visual/tooltip/tooltip.html
index 9453190d7..a5e12b944 100644
--- a/tests/visual/tooltip/tooltip.html
+++ b/tests/visual/tooltip/tooltip.html
@@ -72,15 +72,11 @@
$( "#button1" ).button();
$( "#button2" ).button({
- icons: {
- primary: "ui-icon-wrench"
- }
+ icon: "ui-icon-wrench"
});
$( "#button3, #button4" ).button({
- icons: {
- primary: "ui-icon-wrench"
- },
- text: false
+ icon: "ui-icon-wrench",
+ showLabel: false
});
$( "#buttons" ).tooltip({
position: {