diff --git a/docs/src/content/guides/installation.mdx b/docs/src/content/guides/installation.mdx index b304414..2d2f4cc 100644 --- a/docs/src/content/guides/installation.mdx +++ b/docs/src/content/guides/installation.mdx @@ -46,7 +46,7 @@ driverObj.highlight({ If you are using the CDN, you will have to use the package from the `window` object: ```js -const driver = window.driver.js.driver(); +const driver = window.driver.js.driver; const driverObj = driver(); driver.highlight({ @@ -58,4 +58,4 @@ driver.highlight({ }); ``` -Continue reading the [Getting Started](/docs/basic-usage) guide to learn more about the package. +Continue reading the [Getting Started](/docs/basic-usage) guide to learn more about the package. \ No newline at end of file