luci-base: ui.js: improve dropdown behaviour
authorJo-Philipp Wich <jo@mein.io>
Tue, 28 May 2019 13:28:53 +0000 (15:28 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 7 Jul 2019 13:36:25 +0000 (15:36 +0200)
commitc2f8bc90ffb8f187b5be83c0581a501f6d2879ca
tree1ade914e1abf6273c521f16d93fad2ecbc2252e0
parenta96bec68a03884939d268374a5fb8b2bf1b96ae4
luci-base: ui.js: improve dropdown behaviour

 - Do not artificially cutoff dropdown items, use all available space
 - Close open dropdown when clicking into the preview area

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/ui.js