mirror of
https://github.com/overte-org/overte.git
synced 2025-04-27 18:55:55 +02:00
23 lines
No EOL
678 B
JavaScript
23 lines
No EOL
678 B
JavaScript
//
|
|
// marketplaces.js
|
|
//
|
|
// Copyright 2016 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
function loaded() {
|
|
bindExploreButtons();
|
|
}
|
|
|
|
function bindExploreButtons() {
|
|
$('#exploreClaraMarketplace').on('click', function () {
|
|
EventBridge.emitWebEvent("INJECT_CLARA");
|
|
window.location = "https://clara.io/library?gameCheck=true&public=true"
|
|
})
|
|
$('#exploreHifiMarketplace').on('click', function () {
|
|
EventBridge.emitWebEvent("INJECT_HIFI");
|
|
window.location = "http://www.highfidelity.com/marketplace"
|
|
})
|
|
} |