diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-11-22 08:57:09 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-11-22 12:58:34 +0100 |
commit | 14487071db51d4fce258ba5d2531f390ab85fe1a (patch) | |
tree | ec33b50cb4a107e9c352b2a574fe50e228d0df00 /applications/luci-app-opkg/htdocs | |
parent | 84d50a604493a492c1cf836eccd349da66216e14 (diff) |
luci-app-opkg: allow presetting filter via query attribute
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-opkg/htdocs')
-rw-r--r-- | applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js b/applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js index c2fe2d9fa..274a98292 100644 --- a/applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js +++ b/applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js @@ -793,7 +793,7 @@ window.requestAnimationFrame(function() { var filter = document.querySelector('input[name="filter"]'), keyTimeout = null; - filter.value = ''; + filter.value = filter.getAttribute('value'); filter.addEventListener('keyup', function(ev) { if (keyTimeout !== null) |