Skip to content

Commit

Permalink
release: update formbricks
Browse files Browse the repository at this point in the history
### Improvements

- **Package Updates**: Updates to code packages, no user-facing changes.
  • Loading branch information
HardeepAsrani authored Mar 27, 2024
2 parents 9edf0d5 + 5fe6410 commit 187955b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public function add_nps_form() {
),
);

echo '<script type="text/javascript">!function(){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src="https://unpkg.com/@formbricks/js@^1.2.0/dist/index.umd.js";var e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e),setTimeout(function(){window.formbricks.init(' . wp_json_encode( $config ) . ')},500)}();</script>';
echo '<script type="text/javascript">!function(){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src="https://unpkg.com/@formbricks/js@^1.6.5/dist/index.umd.js";var e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e),setTimeout(function(){window.formbricks.init(' . wp_json_encode( $config ) . ')},500)}();</script>';
}
}

Expand Down

0 comments on commit 187955b

Please sign in to comment.