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