diff --git a/scripts/system/places/places.html b/scripts/system/places/places.html
index 5ac0357c1c..e7213fd617 100644
--- a/scripts/system/places/places.html
+++ b/scripts/system/places/places.html
@@ -502,7 +502,7 @@
"channel": channel,
"action": "GO_FORWARD"
};
- EventBridge.emitWebEvent(JSON.stringify(message));
+ EventBridge.emitWebEvent(JSON.stringify(message));
}
function pinMetaverse(metaverseIndex, pinned) {
@@ -671,7 +671,8 @@
function teleportUsingAddressBarValue(url) {
var finalizedUrl = url;
- if (url.substr(0, 7).toLocaleLowerCase() !== "http://" &&
+ if (url.substr(0, 6).toLocaleLowerCase() !== "file:/" &&
+ url.substr(0, 7).toLocaleLowerCase() !== "http://" &&
url.substr(0, 8).toLocaleLowerCase() !== "https://" &&
url.substr(0, 7).toLocaleLowerCase() !== "hifi://") {
finalizedUrl = "hifi://" + url;