From 6103588faaae4acee6bc45a221f52efe21daf5f8 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 7 Apr 2020 15:22:40 +0200 Subject: [PATCH] Fix access modal bug introduced with the latest commit --- www/common/inner/common-modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/inner/common-modal.js b/www/common/inner/common-modal.js index 2e8c32e21..1534cafa2 100644 --- a/www/common/inner/common-modal.js +++ b/www/common/inner/common-modal.js @@ -59,8 +59,8 @@ define([ }), opts.href); // If this is a file, don't try to look for metadata + if (opts.channel && opts.channel.length > 32) { return; } if (opts.channel) { data.channel = opts.channel; } - if (!data.channel || data.channel.length > 32) { return; } Modal.loadMetadata(Env, data, waitFor); }).nThen(function () { cb(void 0, data);