Issue #2397681 by alexpott: field_ui.js fails eslint validation

8.0.x
webchick 2015-01-06 11:04:38 -08:00
parent c42925bb25
commit 6f23024199
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
// When the user selects a new field type, clear the "existing field"
// selection.
$newFieldType.on('change', function () {
if ($(this).val() != '') {
if ($(this).val() !== '') {
// Reset the "existing storage name" selection.
$existingStorageName.val('').trigger('change');
}
@ -38,7 +38,7 @@
// type" selection and populate the 'existing_storage_label' element.
$existingStorageName.on('change', function () {
var value = $(this).val();
if (value != '') {
if (value !== '') {
// Reset the "new field type" selection.
$newFieldType.val('').trigger('change');