mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 10:29:01 +02:00
fix help.js noisy log reference to undefined string#startsWith
This commit is contained in:
parent
9dcef996c5
commit
ff88956d13
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function onScreenChanged(type, url) {
|
function onScreenChanged(type, url) {
|
||||||
onHelpScreen = type === "Web" && url.startsWith(HELP_URL);
|
onHelpScreen = type === "Web" && (url.indexOf(HELP_URL) === 0);
|
||||||
button.editProperties({ isActive: onHelpScreen });
|
button.editProperties({ isActive: onHelpScreen });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue