luci-base: render button for drag handle
authorPaul Donald <redacted>
Sun, 1 Feb 2026 18:44:11 +0000 (19:44 +0100)
committerPaul Donald <redacted>
Sun, 1 Feb 2026 18:44:11 +0000 (19:44 +0100)
follow-up to 4d04877e0f013fd22bb184183bdaffe01c39a980

divs look OK in all themes but for Openwrt2020, but button
looks fine everywhere (as it was before above commit).

Signed-off-by: Paul Donald <redacted>
modules/luci-base/htdocs/luci-static/resources/form.js

index b5c0ea80a77c94478e7cc636731fc4ec1875605d..502bf7032c83625f21cbac53d5d1298a3f1df51e 100644 (file)
@@ -2781,7 +2781,7 @@ const CBITableSection = CBITypedSection.extend(/** @lends LuCI.form.TableSection
                                        this.handleTouchEnd(ev);
                                }, this) : null
                        };
-                       const dragHandle = E('div', dragHandleProps, '☰');
+                       const dragHandle = E('button', dragHandleProps, '☰');
                        dom.append(tdEl.lastElementChild, [ dragHandle ]);
                }
 
git clone https://git.99rst.org/PROJECT