File tree 3 files changed +7
-15
lines changed
3 files changed +7
-15
lines changed Original file line number Diff line number Diff line change 78
78
. tooltip ( )
79
79
. appendTo ( this . wrapper )
80
80
. button ( {
81
- icons : {
82
- primary : "ui-icon-triangle-1-s"
83
- } ,
84
- text : false
81
+ icon : "ui-icon-triangle-1-s" ,
82
+ showLabel : false
85
83
} )
86
84
. removeClass ( "ui-corner-all" )
87
85
. addClass ( "custom-combobox-toggle ui-corner-right" )
Original file line number Diff line number Diff line change 63
63
64
64
$ ( "button" ) . each ( function ( ) {
65
65
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" )
70
68
} ) ;
71
69
button . not ( ".menu" ) . on ( "click" , function ( ) {
72
70
notify ( button ) ;
Original file line number Diff line number Diff line change 72
72
73
73
$ ( "#button1" ) . button ( ) ;
74
74
$ ( "#button2" ) . button ( {
75
- icons : {
76
- primary : "ui-icon-wrench"
77
- }
75
+ icon : "ui-icon-wrench"
78
76
} ) ;
79
77
$ ( "#button3, #button4" ) . button ( {
80
- icons : {
81
- primary : "ui-icon-wrench"
82
- } ,
83
- text : false
78
+ icon : "ui-icon-wrench" ,
79
+ showLabel : false
84
80
} ) ;
85
81
$ ( "#buttons" ) . tooltip ( {
86
82
position : {
You can’t perform that action at this time.
0 commit comments