luci-app-upnp: remove extra space
authorChen Minqiang <ptpt52@gmail.com>
Fri, 20 Nov 2020 01:19:20 +0000 (09:19 +0800)
committerHannu Nyman <hannu.nyman@iki.fi>
Fri, 20 Nov 2020 11:55:28 +0000 (13:55 +0200)
This was introduced in b01a394bded4dc2dd838ef579a80e12c4e23407b
(Fixes: "luci-app-upnp: add stun support")
Fixes: #4604
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js

index aba63aa8cc79981d0f21662ac31b0829c284fe6d..5780bcc469c80104c1ab496492de036dc3956a39 100644 (file)
@@ -169,11 +169,11 @@ return view.extend({
 
                s.taboption('advanced', form.Flag, 'use_stun', _('Use STUN'))
 
-               o = s.taboption('advanced', form.Value, 'stun_host  ', _('STUN Host'))
+               o = s.taboption('advanced', form.Value, 'stun_host', _('STUN Host'))
                o.depends('use_stun', '1');
                o.datatype    = 'host'
 
-               o = s.taboption('advanced', form.Value, 'stun_port ', _('STUN Port'))
+               o = s.taboption('advanced', form.Value, 'stun_port', _('STUN Port'))
                o.depends('use_stun', '1');
                o.datatype    = 'port'
                o.placeholder = '0-65535'