Update select.js

This commit is contained in:
SmaranSingh
2019-04-04 16:11:01 +05:30
committed by GitHub
parent 73e8701bde
commit 3606fa3b7b

View File

@@ -17,10 +17,8 @@ function optionsEquals(currOpts, prevOpts) {
return false;
}
}
return true;
} else {
return false;
}
return currOpts.length === prevOpts.length;
}
const keys = Object.keys(currOpts);
for (let i = 0; i < keys.length; i += 1) {