fix bug where viewer does not disable ra / la if viewlist causes us to land on first/last image

This commit is contained in:
2022-01-28 14:45:07 +11:00
parent 52f6063bc1
commit 297b12b2b1

View File

@@ -96,6 +96,10 @@
objs=res.objs
eid_lst=eids.split(",")
offset=res.offset
if( current == first_eid )
$("#la").prop("disabled", true)
if( current == last_eid )
$("#ra").prop("disabled", true)
ViewImageOrVideo()
}
})