luci-theme-rosy: Remove redundant statements
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
This commit is contained in:
parent
1ca22ec3f0
commit
4335c50a2b
1 changed files with 1 additions and 3 deletions
|
@ -154,9 +154,7 @@
|
|||
local nnode = cattree.nodes[r]
|
||||
local grandchildren = disp.node_childs(nnode)
|
||||
|
||||
if #grandchildren > 0 then
|
||||
|
||||
else
|
||||
if #grandchildren <= 0 then
|
||||
local title = pcdata(striptags(translate(nnode.title)))
|
||||
|
||||
write('<span class="label logout"><a data-title="%s" href="%s">%s</a></span>' %{
|
||||
|
|
Loading…
Reference in a new issue