Commit 6f230241 authored by webchick's avatar webchick

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

parent c42925bb
......@@ -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');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment