From 24c2922f744f27f904c17b2877374ec3237bd067 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sun, 5 Oct 2025 22:21:57 +1100 Subject: [PATCH] actually set NMO var based on marshmallow data --- templates/files.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/files.html b/templates/files.html index 38d1369..b49d61a 100644 --- a/templates/files.html +++ b/templates/files.html @@ -227,6 +227,8 @@ var fullscreen=false; var move_paths = {{ move_paths|tojson }}; + var NMO={{query_data.NMO|tojson}} + // GLOBALS // this is the current entry (object) we are viewing - an image/video (used when we dbl-click to view & then in next/prev in view) document.viewing=null; @@ -247,7 +249,6 @@ var grayscale=0 var throbber=0 - var NMO=[] var imp_path="static/Import/{{imp_path}}" var st_path="static/Storage/{{st_path}}" var bin_path="static/Bin/{{bin_path}}"