Fix undefined 'displayNetwork' in template

This commit is contained in:
Mattias Erming 2015-04-16 01:14:37 -07:00
parent eb608611d5
commit 0ea6890e87

View File

@ -88,7 +88,7 @@
<div class="col-sm-12">
<h1 class="title">Connect</h1>
</div>
<div <%= !displayNetwork ? 'style="display: none;"' : ''%>>
<div <%= typeof(displayNetwork) !== "undefined" && !displayNetwork ? 'style="display: none;"' : ''%>>
<div class="col-sm-12">
<h2>Network settings</h2>
</div>