Commit 88d2130f authored by Matthias Larisch's avatar Matthias Larisch Committed by Matthias Larisch

Omit uneccessary variable

parent 074f6d86
Pipeline #22500631 passed with stages
in 7 minutes and 27 seconds
......@@ -8,8 +8,7 @@ const fsapp = {
if ($('#fslist').length > 0) {
$('#fslist a').click(function (ev) {
ev.preventDefault()
let el = $(this)
let fsida = el.attr('href').split('#')
let fsida = $(this).attr('href').split('#')
let fsid = parseInt(fsida[(fsida.length - 1)])
fsapp.loadFoodsaver(fsid)
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment