In this example, if the 'force' attribute is not passed to the 'toggle' function, 'linkedom' will interpret it as being passed an attribute equal to 'undefined' and identify it as a 'false' value.
The correct way is for 'linkedom' to ignore the 'force' attribute if it is 'undefined'.
Everything works fine in the browser.
Аnd also in 'linkedom' everything works correctly if I do this check myself:
In this example, if the 'force' attribute is not passed to the 'toggle' function, 'linkedom' will interpret it as being passed an attribute equal to 'undefined' and identify it as a 'false' value.
The correct way is for 'linkedom' to ignore the 'force' attribute if it is 'undefined'.
Everything works fine in the browser.
Аnd also in 'linkedom' everything works correctly if I do this check myself: