> ## Documentation Index
> Fetch the complete documentation index at: https://docs.invoca.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Numbers in a Pop-Up Window Don't Swap, But Other Numbers on the Website Do

> Pop-up windows often run on a separate thread than the main page — a developer needs to run the swap function on the pop-up's own thread.

**Applies to:** Numbers located in a pop-up window.

## Cause

Pop-up windows are often part of third-party applications and run on a different "thread" than the numbers on the original website. Running `Invoca.PNAPI.run()` manually in the console won't swap these numbers, since the console operates on the original page's thread.

## Resolution

A developer who owns the website needs to update the site's source code to run `Invoca.PNAPI.run()` on the pop-up's own thread or component.

## Where to go next

* [Tag Wizard: Custom Code](/s/article/tag-wizard-custom-code)
