diff --git a/scripts/system/html/js/SnapshotReview.js b/scripts/system/html/js/SnapshotReview.js
index c2577bb8c0..11502c3d81 100644
--- a/scripts/system/html/js/SnapshotReview.js
+++ b/scripts/system/html/js/SnapshotReview.js
@@ -142,7 +142,7 @@ function createShareBar(parentID, isGif, blastButtonDisabled, hifiButtonDisabled
if (canBlast) {
shareBarInnerHTML += '
';
}
- shareBarInnerHTML += '' +
+ shareBarInnerHTML += '' +
'
' +
'' +
'';
@@ -163,6 +163,11 @@ function appendShareBar(divID, isGif, blastButtonDisabled, hifiButtonDisabled, c
document.getElementById(divID).appendChild(createShareBar(divID, isGif, blastButtonDisabled, hifiButtonDisabled, canBlast));
if (divID === "p0") {
selectImageToShare(divID, true);
+ if (canBlast) {
+ shareButtonHovered('blast', divID);
+ } else {
+ shareButtonHovered('hifi', divID);
+ }
}
}
function shareForUrl(selectedID) {
@@ -179,7 +184,7 @@ function addImage(image_data, isGifLoading, canShare, isShowingPreviousImages, b
var id = "p" + (idCounter++),
imageContainer = document.createElement("DIV"),
img = document.createElement("IMG"),
- isGif = img.src.split('.').pop().toLowerCase() === "gif";
+ isGif;
imageContainer.id = id;
imageContainer.style.width = "95%";
imageContainer.style.height = "240px";
@@ -190,6 +195,7 @@ function addImage(image_data, isGifLoading, canShare, isShowingPreviousImages, b
imageContainer.style.position = "relative";
img.id = id + "img";
img.src = image_data.localPath;
+ isGif = img.src.split('.').pop().toLowerCase() === "gif";
imageContainer.appendChild(img);
document.getElementById("snapshot-images").appendChild(imageContainer);
paths.push(image_data.localPath);
@@ -425,7 +431,7 @@ function handleCaptureSetting(setting) {
window.onload = function () {
// Uncomment the line below to test functionality in a browser.
// See definition of "testInBrowser()" to modify tests.
- //testInBrowser(2);
+ testInBrowser(1);
openEventBridge(function () {
// Set up a handler for receiving the data, and tell the .js we are ready to receive it.
EventBridge.scriptEventReceived.connect(function (message) {