mirror of
https://github.com/overte-org/overte.git
synced 2025-04-18 22:16:28 +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>
|
||||
<div class="title">
|
||||
<label>Snapshot Review</label>
|
||||
<label>Snapshots</label>
|
||||
<label id="settingsLabel" for="snapshotSettings">Settings</label>
|
||||
<input type="button" class="hifi-glyph naked" id="snapshotSettings" value="@" onclick="snapshotSettings()" />
|
||||
</div>
|
||||
|
|
|
@ -89,6 +89,9 @@ function appendShareBar(divID, story_id, isGif, hifiShareButtonsDisabled) {
|
|||
var parentDiv = document.getElementById(divID);
|
||||
parentDiv.setAttribute('data-story-id', story_id);
|
||||
document.getElementById(divID).appendChild(createShareBar(divID, isGif, story_url, hifiShareButtonsDisabled));
|
||||
if (divID === "p0") {
|
||||
selectImageToShare(divID, true);
|
||||
}
|
||||
}
|
||||
function createShareBar(parentID, isGif, shareURL, hifiShareButtonsDisabled) {
|
||||
var shareBar = document.createElement("div");
|
||||
|
|
Loading…
Reference in a new issue