diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-11-08 20:23:34 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-11-08 20:23:34 +0100 |
commit | 02398a33837d1fe8fd23d933ad7ac32025144805 (patch) | |
tree | 223b82ddbdc42543270d6cfe8f730415075e7862 /applications/luci-app-opkg/htdocs | |
parent | f16a2f3fbae0c527af812388390cc1bebe8d7eb3 (diff) |
luci-app-opkg: fix filter reset link action
Fixes: #5497
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 fe5600e880..69b69be9b9 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 @@ -347,7 +347,7 @@ function handlePage(ev) if (filter.value) placeholder = [ E('span', {}, _('No packages matching "<strong>%h</strong>".').format(filter.value)), ' (', - E('a', { href: '#', onclick: 'handleReset(event)' }, _('Reset')), ')' + E('a', { href: '#', click: handleReset }, _('Reset')), ')' ]; cbi_update_table('#packages', currentDisplayRows.slice(offset, offset + 100), |