Update for coding standards

This commit is contained in:
Jonathan Sadowski 2021-06-09 16:23:26 -05:00
parent b157fe8eac
commit 2715b745d7
2 changed files with 4 additions and 4 deletions

View File

@ -4941,7 +4941,7 @@ S2.define('select2/defaults',[
function matcher (params, data) {
// Always return the object if there is nothing to compare
if ( params.term == null || params.term.toString().trim() === '' ) {
if ( params.term == null || params.term.toString().trim() === '' ) {
return data;
}
@ -6131,7 +6131,7 @@ S2.define('select2/compat/matcher',[
function wrappedMatcher (params, data) {
var match = $.extend(true, {}, data);
if (params.term == null || params.term.trim() === '') {
if ( params.term == null || params.term.trim() === '' ) {
return match;
}

View File

@ -4941,7 +4941,7 @@ S2.define('select2/defaults',[
function matcher (params, data) {
// Always return the object if there is nothing to compare
if ( params.term == null || params.term.toString().trim() === '' ) {
if ( params.term == null || params.term.toString().trim() === '' ) {
return data;
}
@ -6131,7 +6131,7 @@ S2.define('select2/compat/matcher',[
function wrappedMatcher (params, data) {
var match = $.extend(true, {}, data);
if (params.term == null || params.term.trim() === '') {
if ( params.term == null || params.term.trim() === '' ) {
return match;
}