Skip to content

Commit 821d076

Browse files
committed
1 parent 36ed9fc commit 821d076

File tree

3 files changed

+7
-15
lines changed

3 files changed

+7
-15
lines changed

demos/autocomplete/combobox.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,8 @@
7878
.tooltip()
7979
.appendTo( this.wrapper )
8080
.button({
81-
icons: {
82-
primary: "ui-icon-triangle-1-s"
83-
},
84-
text: false
81+
icon: "ui-icon-triangle-1-s",
82+
showLabel: false
8583
})
8684
.removeClass( "ui-corner-all" )
8785
.addClass( "custom-combobox-toggle ui-corner-right" )

demos/tooltip/video-player.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,8 @@
6363

6464
$( "button" ).each(function() {
6565
var button = $( this ).button({
66-
icons: {
67-
primary: $( this ).data( "icon" )
68-
},
69-
text: !!$( this ).attr( "title" )
66+
icon: $( this ).data( "icon" ),
67+
showLabel: !!$( this ).attr( "title" )
7068
});
7169
button.not( ".menu" ).on( "click", function() {
7270
notify( button );

tests/visual/tooltip/tooltip.html

+3-7
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,11 @@
7272

7373
$( "#button1" ).button();
7474
$( "#button2" ).button({
75-
icons: {
76-
primary: "ui-icon-wrench"
77-
}
75+
icon: "ui-icon-wrench"
7876
});
7977
$( "#button3, #button4" ).button({
80-
icons: {
81-
primary: "ui-icon-wrench"
82-
},
83-
text: false
78+
icon: "ui-icon-wrench",
79+
showLabel: false
8480
});
8581
$( "#buttons" ).tooltip({
8682
position: {

0 commit comments

Comments
 (0)