Don't open a pointer when the target element is hidden. see #19357.

git-svn-id: https://develop.svn.wordpress.org/trunk@19467 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2011-11-28 17:50:49 +00:00
parent d7c9c422b5
commit 447d1d7b96
3 changed files with 5 additions and 2 deletions

View File

@@ -220,6 +220,9 @@
if ( this.active || o.disabled )
return;
if ( this.element.is(':hidden') )
return;
this.update().done( function() {
self._open( event );
});