diff --git a/assets/js/filebrowser.js b/assets/js/filebrowser.js index c18f980..1efcefa 100644 --- a/assets/js/filebrowser.js +++ b/assets/js/filebrowser.js @@ -85,6 +85,9 @@ var start = rows.findIndex(function (a) { return a.classList.contains("is-selected"); }); select(start < 0 ? 0 : start, true); // initial selection: don't echo into the shell yet + // portfolio/about listings start pre-locked on their first file, same as a + // manual click — games stay hover-driven, there's nothing else to browse there + if (container && !container.classList.contains("game-embed")) setFrozen(true); // warm the cache so switching between gallery images is instant var srcs = rows.map(function (a) { return a.getAttribute("data-img"); }).filter(Boolean);