Skip to content

Commit

Permalink
Inspector: wrap js into anonymous function so it does not clash with …
Browse files Browse the repository at this point in the history
…other scripts
  • Loading branch information
mabar committed Mar 28, 2023
1 parent 53ca9f6 commit 31aa90f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Inspector/Tracy/Inspector.panel.latte
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
</style>

<script>
{$scriptCode|noescape}
(function () {
{$scriptCode|noescape}
})();
</script>
{/if}

0 comments on commit 31aa90f

Please sign in to comment.