aboutsummaryrefslogtreecommitdiffstats
path: root/demos/tooltip/video-player.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/tooltip/video-player.html')
-rw-r--r--demos/tooltip/video-player.html6
1 files changed, 2 insertions, 4 deletions
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 );