mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Bugfix: jQuery UI classesElementLookup value is Object, not an Array
This commit is contained in:
parent
9e167ac981
commit
c3a213802d
2 changed files with 3 additions and 3 deletions
|
|
@ -553,8 +553,8 @@ $.Widget.prototype = {
|
||||||
|
|
||||||
_untrackClassesElement: function( event ) {
|
_untrackClassesElement: function( event ) {
|
||||||
var that = this;
|
var that = this;
|
||||||
$.each( that.classesElementLookup, function( key, value ) {
|
$.each( that.classesElementLookup, (key, value) => {
|
||||||
if ( value.includes(event.target) ) {
|
if ( $.inArray( event.target, value ) !== -1 ) {
|
||||||
that.classesElementLookup[ key ] = $( value.not( event.target ).get() );
|
that.classesElementLookup[ key ] = $( value.not( event.target ).get() );
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue