mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 03:53:10 +02:00
Remove e-mail message hyperlink if displaying on tablet
This commit is contained in:
parent
78c6441842
commit
eef8c70f10
3 changed files with 12 additions and 4 deletions
|
@ -10,4 +10,12 @@
|
|||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
//
|
||||
|
||||
// Nothing to do; just need empty script to replace individual marketplace ones.
|
||||
// Only used in WebTablet.
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
// Remove e-mail hyperlink.
|
||||
var letUsKnow = $("#letUsKnow");
|
||||
letUsKnow.replaceWith(letUsKnow.html());
|
||||
|
||||
});
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<div class="marketplaces-container">
|
||||
<h2 class="marketplaces-title">Marketplaces</h2>
|
||||
<div class="marketplaces-intro-text">
|
||||
<p>You can bring content into High Fidelity from anywhere you want. Here are a few places that support direct import of content right now. If you'd like to suggest a Market to include here, <a href="mailto:contact@highfidelity.io">let us know.</a></p>
|
||||
<p>You can bring content into High Fidelity from anywhere you want. Here are a few places that support direct import of content right now. If you'd like to suggest a Market to include here, <a id="letUsKnow" href="mailto:contact@highfidelity.io">let us know.</a></p>
|
||||
</div>
|
||||
<div class="marketplace-tile">
|
||||
<div class="marketplace-tile-first-column">
|
||||
|
|
|
@ -27,7 +27,7 @@ var marketplaceWindow = new OverlayWebWindow({
|
|||
height: 700,
|
||||
visible: false
|
||||
});
|
||||
marketplaceWindow.setScriptURL(MARKETPLACES_DIRECTORY_SCRIPT_URL);
|
||||
marketplaceWindow.setScriptURL("");
|
||||
marketplaceWindow.webEventReceived.connect(function (data) {
|
||||
if (data === "INJECT_HIFI") {
|
||||
marketplaceWindow.setScriptURL(MARKETPLACES_HFIF_SCRIPT_URL);
|
||||
|
@ -36,7 +36,7 @@ marketplaceWindow.webEventReceived.connect(function (data) {
|
|||
marketplaceWindow.setScriptURL(MARKETPLACES_CLARA_SCRIPT_URL);
|
||||
}
|
||||
if (data === "RELOAD_DIRECTORY") {
|
||||
marketplaceWindow.setScriptURL(MARKETPLACES_DIRECTORY_SCRIPT_URL);
|
||||
marketplaceWindow.setScriptURL("");
|
||||
marketplaceWindow.setURL(MARKETPLACES_URL);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue