Commit e5657a46 authored by Mike Greiling's avatar Mike Greiling

Resolve "null is not an object (evaluating $wrapper.hasClass)"

parent dc40387d
......@@ -47,7 +47,7 @@ export default class FileTemplateSelector {
}
isHidden() {
return this.$wrapper.hasClass('hidden');
return !this.$wrapper || this.$wrapper.hasClass('hidden');
}
getToggleText() {
......
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