Skip to content

Commit b4d75c1

Browse files
committed
Tooltip: Rename _show to _open.
1 parent ffb96bc commit b4d75c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ui/jquery.ui.tooltip.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,19 +75,19 @@ $.widget("ui.tooltip", {
7575
this.current = target;
7676
this.currentTitle = target.attr("title");
7777
var content = this.options.content.call(target[0], function(response) {
78-
// IE may instantly serve a cached response, need to give it a chance to finish with _show before that
78+
// IE may instantly serve a cached response, need to give it a chance to finish with _open before that
7979
setTimeout(function() {
8080
// ignore async responses that come in after the tooltip is already hidden
8181
if (self.current == target)
82-
self._show(event, target, response);
82+
self._open(event, target, response);
8383
}, 13);
8484
});
8585
if (content) {
86-
self._show(event, target, content);
86+
self._open(event, target, content);
8787
}
8888
},
8989

90-
_show: function(event, target, content) {
90+
_open: function(event, target, content) {
9191
if (!content)
9292
return;
9393

0 commit comments

Comments
 (0)