From 6b68000079fe7e5859e35ff353c40579485477ec Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 27 Nov 2020 19:44:21 +0100 Subject: [PATCH] docs: dead link --- resources/docs/docs/widgets/scripting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index b491afdc..9f0a3a75 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -2,7 +2,7 @@ The `script` property allows widgets to run [Javascript](https://developer.mozilla.org/en-US/docs/Web/JavaScript) code when their value update. -!!! info "It's slightly different from the [javascript property syntax ](./advanced-syntaxes/#javascript-js-code)" +!!! info "It's slightly different from the [javascript property syntax ](../advanced-syntaxes/#javascript-js-code)" - no `JS{{}}` wrapper, just the code - `@{}`, `OSC{}`, `JS{{}}` and `#{}` blocks are replaced with their literal value before the script's compilation, therefore **it is recommended to avoid these syntaxes** and use `getProp()` and `get()` instead.