Fixed code spacing issues

This commit is contained in:
John Clark 2020-06-12 08:58:18 -04:00
parent ad11d34dda
commit 81621f42e5
2 changed files with 4 additions and 4 deletions

View File

@ -590,7 +590,7 @@ $.Widget.prototype = {
delegateElement = this.widget();
} else {
element = delegateElement = $( element );
if ( !this.bindings.find(element).length ) {
if ( !this.bindings.find( element ).length ) {
this.bindings = this.bindings.add( element );
}
}

View File

@ -142,7 +142,7 @@ return $.widget( "ui.selectable", $.ui.mouse, {
var element = $( event.target ).closest( ":data(selectable-item)" );
if ( element.length ) {
var selectee = element.data( "selectable-item" ),
doSelect = ( !event.metaKey && !event.ctrlKey) ||
doSelect = ( !event.metaKey && !event.ctrlKey ) ||
!selectee.$element.hasClass( "ui-selected" );
that._removeClass( selectee.$element, doSelect ? "ui-unselecting" : "ui-selected" )
._addClass( selectee.$element, doSelect ? "ui-selecting" : "ui-unselecting" );
@ -154,11 +154,11 @@ return $.widget( "ui.selectable", $.ui.mouse, {
if ( doSelect ) {
that._trigger( "selecting", event, {
selecting: selectee.element
});
} );
} else {
that._trigger( "unselecting", event, {
unselecting: selectee.element
});
} );
}
}