Native tooltip is displayed for disabled element

by dwaddell

HTML

<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.js"></script>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/themes/ui-lightness/jquery-ui.css">
<div>
    <p>The native tooltip is displayed for a disabled element. Hover over the lock icon to see an example.</p><br>
</div>
<div>
    <button id="First"></button>
    <br><br>
    
</div>

JavaScript

$('#First').tooltip({
    content: "Hello!",
    items: '*'
}).button({
    icons: {
        primary: "ui-icon-locked"
    },
    text: false
}).click(function () { $(this).tooltip('close'); });