diff options
| -rw-r--r-- | app/Functions/FunctionsEdit.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Functions/FunctionsEdit.php b/app/Functions/FunctionsEdit.php index f1d63b9e8b..0f8b2915af 100644 --- a/app/Functions/FunctionsEdit.php +++ b/app/Functions/FunctionsEdit.php @@ -1003,8 +1003,7 @@ class FunctionsEdit { jQuery("input.DATE", jQuery(el).closest("table")).val(option.val()); jQuery("input.PLAC", jQuery(el).closest("table")).val(option.data("place")); jQuery("input.census-class", jQuery(el).closest("table")).val(option.data("census")); - var re = /(United States|England|Wales|Scotland|France)$/; - if (re.test(option.data("place"))) { + if (option.data("place")) { jQuery("#assistant-link").show(); } else { jQuery("#assistant-link").hide(); |
