mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 11:27:41 +02:00
Open ShareBar on P0 by default
This commit is contained in:
parent
0ac660d4ab
commit
7297355183
2 changed files with 4 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<label>Snapshot Review</label>
|
<label>Snapshots</label>
|
||||||
<label id="settingsLabel" for="snapshotSettings">Settings</label>
|
<label id="settingsLabel" for="snapshotSettings">Settings</label>
|
||||||
<input type="button" class="hifi-glyph naked" id="snapshotSettings" value="@" onclick="snapshotSettings()" />
|
<input type="button" class="hifi-glyph naked" id="snapshotSettings" value="@" onclick="snapshotSettings()" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -89,6 +89,9 @@ function appendShareBar(divID, story_id, isGif, hifiShareButtonsDisabled) {
|
||||||
var parentDiv = document.getElementById(divID);
|
var parentDiv = document.getElementById(divID);
|
||||||
parentDiv.setAttribute('data-story-id', story_id);
|
parentDiv.setAttribute('data-story-id', story_id);
|
||||||
document.getElementById(divID).appendChild(createShareBar(divID, isGif, story_url, hifiShareButtonsDisabled));
|
document.getElementById(divID).appendChild(createShareBar(divID, isGif, story_url, hifiShareButtonsDisabled));
|
||||||
|
if (divID === "p0") {
|
||||||
|
selectImageToShare(divID, true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
function createShareBar(parentID, isGif, shareURL, hifiShareButtonsDisabled) {
|
function createShareBar(parentID, isGif, shareURL, hifiShareButtonsDisabled) {
|
||||||
var shareBar = document.createElement("div");
|
var shareBar = document.createElement("div");
|
||||||
|
|
Loading…
Reference in a new issue