My function is loading twice on page load layout

I try to call a simple function on page load layout , but it will call twice on every page load ,any Idea what is the reason ??

Can you share a Tumult Hype document so we can take a look?

How ??

Zip it up and simply drop it in the reply box. If it’s too big try to size it down to only the items that cause the error.