This commit is contained in:
Jay 2017-09-14 18:01:13 +08:00
parent f8cc35a3cd
commit 021b7fea8d

View File

@ -8,7 +8,7 @@
<select name="tty" id="tty">
<option value="">選擇裝置</option>
<% for(let i of ttys) { %>
<option value="<%= i %>" <%= ttys[i] == defConfig.printer.serial ? 'selected' : '' %>><%= i %></option>
<option value="<%= i %>" <%= i == defConfig.printer.serial ? 'selected' : '' %>><%= i %></option>
<% } %>
</select>
</div>