mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Don't open a pointer when the target element is hidden. fixes #19357.
git-svn-id: https://develop.svn.wordpress.org/trunk@19482 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -218,10 +218,7 @@
|
||||
var self = this,
|
||||
o = this.options;
|
||||
|
||||
if ( this.active || o.disabled )
|
||||
return;
|
||||
|
||||
if ( this.element.is(':hidden') )
|
||||
if ( this.active || o.disabled || this.element.is(':hidden') )
|
||||
return;
|
||||
|
||||
this.update().done( function() {
|
||||
@@ -233,7 +230,7 @@
|
||||
var self = this,
|
||||
o = this.options;
|
||||
|
||||
if ( this.active || o.disabled )
|
||||
if ( this.active || o.disabled || this.element.is(':hidden') )
|
||||
return;
|
||||
|
||||
this.active = true;
|
||||
|
||||
Reference in New Issue
Block a user