]> source.dussan.org Git - jquery-ui.git/commitdiff
Tooltip: Rename _show to _open.
authorScott González <scott.gonzalez@gmail.com>
Sat, 26 Feb 2011 14:04:33 +0000 (15:04 +0100)
committerScott González <scott.gonzalez@gmail.com>
Sat, 26 Feb 2011 14:04:33 +0000 (15:04 +0100)
ui/jquery.ui.tooltip.js

index 50e1b4437c04913714c31d74d4faf04829372c62..57e65f92300eb90731f3f464c76883ebe4063e3c 100644 (file)
@@ -75,19 +75,19 @@ $.widget("ui.tooltip", {
                this.current = target;
                this.currentTitle = target.attr("title");
                var content = this.options.content.call(target[0], function(response) {
-                       // IE may instantly serve a cached response, need to give it a chance to finish with _show before that
+                       // IE may instantly serve a cached response, need to give it a chance to finish with _open before that
                        setTimeout(function() {
                                // ignore async responses that come in after the tooltip is already hidden
                                if (self.current == target)
-                                       self._show(event, target, response);
+                                       self._open(event, target, response);
                        }, 13);
                });
                if (content) {
-                       self._show(event, target, content);
+                       self._open(event, target, content);
                }
        },
        
-       _show: function(event, target, content) {
+       _open: function(event, target, content) {
                if (!content)
                        return;