1

Is there a way to avoid Fancybox 3 from automatically appending the query string "fancybox=true"?

Thanks

Nasri Zhang
  • 63
  • 1
  • 4

1 Answers1

1

There is an option ajax that you can use to customize your ajax requests, this is the default value:

  ajax: {
    // Object containing settings for ajax request
    settings: {
      // This helps to indicate that request comes from the modal
      // Feel free to change naming
      data: {
        fancybox: true
      }
    }
  }
Janis
  • 8,593
  • 1
  • 21
  • 27
  • Thanks @Janis. This helps. Thought it was more of a customised obj for sending request data, and it turns out to be a jQuery ajax settings obj. – Nasri Zhang Mar 27 '20 at 10:36