diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-10-20 09:55:59 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-11-05 11:01:45 +0100 |
commit | 6b8fc99fd5897d9a0d959d567a02113ef5b2a328 (patch) | |
tree | cfbdc38785f241d6ffc70d10414250e672054db6 /libs | |
parent | 911d540cbbcd7218cc6768aa177766cab0835fce (diff) |
luci-base: cbi.js: utilize node.closest() if available
Use node.closest() in findParent() when available since it should be faster
than manaually traversing the ancestor chain.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'libs')
0 files changed, 0 insertions, 0 deletions