alert: Avoid calling jQuery('#'), it's a syntax error in jQuery 3.0 (#20019)
This commit is contained in:
parent
769b2d2462
commit
1956146787
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@
|
|||
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
|
||||
}
|
||||
|
||||
var $parent = $(selector)
|
||||
var $parent = $(selector === '#' ? [] : selector)
|
||||
|
||||
if (e) e.preventDefault()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue