🐛 Don't navigate when no frame/index found on viewer.

This commit is contained in:
Andrey Antukh 2020-11-25 20:08:39 +01:00 committed by Hirunatan
parent b0fbc86ca7
commit 29669b8b0f
3 changed files with 4 additions and 2 deletions

View file

@ -87,7 +87,7 @@
(defn index-of-pred
[coll pred]
(loop [c (first coll)
(loop [c (first coll)
coll (rest coll)
index 0]
(if (nil? c)