Skip to content
Snippets Groups Projects
Commit d5f80084 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire: Committed by Reiter, Christoph
Browse files

Fix null error

parent 5598d1a7
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ class PersonSelect extends VPULitElementJQuery {
"text": "http://schema.org/name"
};
if (this.$select.hasClass('select2-hidden-accessible')) {
if (this.$select && this.$select.hasClass('select2-hidden-accessible')) {
this.$select.select2('destroy');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment