diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-02-13 23:36:18 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-02-13 23:43:08 +0100 |
commit | c9f002e803a82692f05b606b60d14795642a43aa (patch) | |
tree | c92a6a99275245a58bb2a12498eb86881bf40d74 | |
parent | 5386380462b2ccbb58d5ec5b9a2b19c934525b84 (diff) | |
download | luci2-ui-c9f002e803a82692f05b606b60d14795642a43aa.tar.gz |
luci2.ui: hide mobile dropdown menu when changing views
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
-rw-r--r-- | luci2/htdocs/luci2/ui.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/luci2/htdocs/luci2/ui.js b/luci2/htdocs/luci2/ui.js index 81c52dc..5ab1ddd 100644 --- a/luci2/htdocs/luci2/ui.js +++ b/luci2/htdocs/luci2/ui.js @@ -606,6 +606,7 @@ { L.ui.loading(true); L.ui.renderView(node).then(function() { + $('#mainmenu.in').collapse('hide'); L.ui.loading(false); }); } |