diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-05-24 17:04:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-24 17:04:35 +0200 |
commit | edeb146eb0d22430625a77e8557b8d16eedad759 (patch) | |
tree | 721403103a3830159ddcc95b587dccd10d84e0ff /modules/luci-base/htdocs/luci-static | |
parent | 62ed4e6e402e06d0ce44f8d0b9a260720fa68aa1 (diff) | |
parent | c00d0d9473803eec3248f0f6d7f3404923c80514 (diff) |
Merge pull request #4092 from tano-systems/pr/20200524-luci-base-fix-nested
luci-base: ui.js: fix function declaration in nested statement
Diffstat (limited to 'modules/luci-base/htdocs/luci-static')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index 1f9a436f13..a6598355d6 100644 --- a/modules/luci-base/htdocs/luci-static/resources/ui.js +++ b/modules/luci-base/htdocs/luci-static/resources/ui.js @@ -1176,7 +1176,7 @@ var UIDropdown = UIElement.extend(/** @lends LuCI.ui.Dropdown.prototype */ { ul.style.maxHeight = (vpHeight * 0.5) + 'px'; ul.style.WebkitOverflowScrolling = 'touch'; - function getScrollParent(element) { + var getScrollParent = function(element) { var parent = element, style = getComputedStyle(element), excludeStaticParent = (style.position === 'absolute'); |