mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 08:16:21 +02:00
Merge pull request #11777 from zfox23/commerce_injectionTempFix
Revert 11728 and fix marketplace JS injection - should revisit
This commit is contained in:
commit
72ba892dbd
1 changed files with 3 additions and 3 deletions
|
@ -89,7 +89,7 @@
|
||||||
window.location = "https://clara.io/library?gameCheck=true&public=true";
|
window.location = "https://clara.io/library?gameCheck=true&public=true";
|
||||||
});
|
});
|
||||||
$('#exploreHifiMarketplace').on('click', function () {
|
$('#exploreHifiMarketplace').on('click', function () {
|
||||||
window.location = metaverseServerURL + "/marketplace";
|
window.location = "http://www.highfidelity.com/marketplace";
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -612,9 +612,9 @@
|
||||||
var HIFI_ITEM_PAGE = 3;
|
var HIFI_ITEM_PAGE = 3;
|
||||||
var pageType = DIRECTORY;
|
var pageType = DIRECTORY;
|
||||||
|
|
||||||
if (location.href.indexOf(metaverseServerURL + "/") !== -1) { pageType = HIFI; }
|
if (location.href.indexOf("highfidelity.com/") !== -1) { pageType = HIFI; }
|
||||||
if (location.href.indexOf("clara.io/") !== -1) { pageType = CLARA; }
|
if (location.href.indexOf("clara.io/") !== -1) { pageType = CLARA; }
|
||||||
if (location.href.indexOf(metaverseServerURL + "/marketplace/items/") !== -1) { pageType = HIFI_ITEM_PAGE; }
|
if (location.href.indexOf("highfidelity.com/marketplace/items/") !== -1) { pageType = HIFI_ITEM_PAGE; }
|
||||||
|
|
||||||
injectCommonCode(pageType === DIRECTORY);
|
injectCommonCode(pageType === DIRECTORY);
|
||||||
switch (pageType) {
|
switch (pageType) {
|
||||||
|
|
Loading…
Reference in a new issue