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 { ...@@ -78,7 +78,7 @@ class PersonSelect extends VPULitElementJQuery {
"text": "http://schema.org/name" "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'); this.$select.select2('destroy');
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment