Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbie1977 committed Jan 27, 2025
1 parent 25131db commit 82fafe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/VFBMain.js
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 82fafe7

Please sign in to comment.