mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-15 05:09:25 +00:00
Browser extensions can dynamically insert scripts into a web page, so it's possible that the last script is not what we expected, which can cause the path to the script to be wrong. This change fixes the determination of the default path by using the `document.currentScript` property. It also replaces the use of the deprecated `substr` function in those places. Cherry-pick-of: #15159 Fixes: #15158 Test-bot: skip |
||
|---|---|---|
| .. | ||
| app | ||
| common/web-utils | ||
| engine | ||
| resources | ||
| samples | ||
| test | ||
| tools | ||
| .editorconfig | ||
| tsconfig.all.json | ||
| tsconfig.dom.json | ||