DebugMenu should have li tags in it by default, no matter the style, otherwise we can lose the onclick for pick
@@ -278,6 +278,6 @@ def _set_active(item):
class DebugMenu(Menu):
- code = MenuItem()
- tree = MenuItem(url='?/debug_tree')
- pick = MenuItem(url='#', attrs__onclick='window.iommi_start_pick()')
+ code = MenuItem(tag='li')
+ tree = MenuItem(url='?/debug_tree', tag='li')
+ pick = MenuItem(url='#', attrs__onclick='window.iommi_start_pick()', tag='li')
