From 82fafe71212458b8cba5437e36fbafdf8c8d52ae Mon Sep 17 00:00:00 2001 From: Rob Court Date: Mon, 27 Jan 2025 12:41:39 +0000 Subject: [PATCH] lint fix --- components/VFBMain.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/VFBMain.js b/components/VFBMain.js index 6332e9b08..a8b6e0ad9 100644 --- a/components/VFBMain.js +++ b/components/VFBMain.js @@ -1312,8 +1312,8 @@ class VFBMain extends React.Component { // if a user data query is called and the VFBu_ id is not loaded after timeout then it must still be being analysed let url = window.location.origin + window.location.pathname + "?id=" + querySplit[0].trim() + "&q=" + query; // Use an IIFE (Immediately Invoked Function Expression) to create a closure and capture the variables - (function(querySplit, url) { - setTimeout(function() { + (function (querySplit, url) { + setTimeout(function () { if (window[querySplit[0].trim()] == undefined) { if (confirm("The image you uploaded is still being analysed; this can take over an hour. \nClick OK to check again or Cancel to just open VFB.")) { window.ga('vfb.send', 'event', 'opening', 'uploadQuery', querySplit[0].trim());