mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 05:43:36 +02:00
changed quote types
This commit is contained in:
parent
ead359ce67
commit
e488a66840
3 changed files with 3 additions and 3 deletions
|
@ -40,7 +40,7 @@ Controls.WebView {
|
||||||
userScripts: [ createGlobalEventBridge, raiseAndLowerKeyboard, userScript ]
|
userScripts: [ createGlobalEventBridge, raiseAndLowerKeyboard, userScript ]
|
||||||
|
|
||||||
function onWebEventReceived(event) {
|
function onWebEventReceived(event) {
|
||||||
if (typeof event === 'string' && event.slice(0, 17) === "CLARA.IO DOWNLOAD") {
|
if (typeof event === "string" && event.slice(0, 17) === "CLARA.IO DOWNLOAD") {
|
||||||
ApplicationInterface.addAssetToWorldFromURL(event.slice(18));
|
ApplicationInterface.addAssetToWorldFromURL(event.slice(18));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -200,7 +200,7 @@ Rectangle {
|
||||||
id: eventBridgeConnection
|
id: eventBridgeConnection
|
||||||
target: eventBridge
|
target: eventBridge
|
||||||
onWebEventReceived: {
|
onWebEventReceived: {
|
||||||
if (typeof message === 'string' && message.slice(0, 17) === "CLARA.IO DOWNLOAD") {
|
if (typeof message === "string" && message.slice(0, 17) === "CLARA.IO DOWNLOAD") {
|
||||||
ApplicationInterface.addAssetToWorldFromURL(message.slice(18));
|
ApplicationInterface.addAssetToWorldFromURL(message.slice(18));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -118,7 +118,7 @@ Windows.ScrollingWindow {
|
||||||
id: eventBridgeConnection
|
id: eventBridgeConnection
|
||||||
target: eventBridge
|
target: eventBridge
|
||||||
onWebEventReceived: {
|
onWebEventReceived: {
|
||||||
if (typeof message === 'string' && message.slice(0, 17) === "CLARA.IO DOWNLOAD") {
|
if (typeof message === "string" && message.slice(0, 17) === "CLARA.IO DOWNLOAD") {
|
||||||
ApplicationInterface.addAssetToWorldFromURL(message.slice(18));
|
ApplicationInterface.addAssetToWorldFromURL(message.slice(18));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue