luci-app-lxc: remove wrong leftover from last commit 1818/head
authorDirk Brenken <dev@brenken.org>
Wed, 23 May 2018 22:25:36 +0000 (00:25 +0200)
committerGitHub <noreply@github.com>
Wed, 23 May 2018 22:25:36 +0000 (00:25 +0200)
Signed-off-by: Dirk Brenken <dev@brenken.org>
applications/luci-app-lxc/luasrc/view/lxc.htm

index c1b44f8671a954d663eeb06381871653ecb291c5..5b1fb0411c1a43f98adf654fcca4acfac77194ce 100644 (file)
@@ -389,9 +389,6 @@ table.cbi-section-table td,
 
        function set_empty_template()
        {
-               if (document.getElementById('tr_holder') !== null)
-                       return
-
                var row_count = t_lxc_create.rows.length;
                while(--row_count) t_lxc_create.deleteRow(row_count);