diff options
Diffstat (limited to 'demos/tooltip/video-player.html')
-rw-r--r-- | demos/tooltip/video-player.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/demos/tooltip/video-player.html b/demos/tooltip/video-player.html index e1ebac24f..74db642aa 100644 --- a/demos/tooltip/video-player.html +++ b/demos/tooltip/video-player.html @@ -37,7 +37,9 @@ <script src="../../external/requirejs/require.js"></script> <script src="../bootstrap.js" data-modules="button controlgroup menu effect effect-blind"> function notify( input ) { - var msg = "Selected " + $.trim( input.data( "tooltip-title" ) || input.text() ); + var msg = "Selected " + + String.prototype.trim.call( + input.data( "tooltip-title" ) || input.text() ); $( "<div>" ) .appendTo( document.body ) .text( msg ) |