mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-29 04:42:34 +02:00
Resolve your paths, silly!
This commit is contained in:
parent
85e5173abe
commit
b410399a16
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,6 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
var paths = [], idCounter = 0, imageCount;
|
var paths = [], idCounter = 0, imageCount;
|
||||||
var loadingGifPath = '../../../resources/icons/loadingDark.gif';
|
|
||||||
function addImage(data) {
|
function addImage(data) {
|
||||||
if (!data.localPath) {
|
if (!data.localPath) {
|
||||||
return;
|
return;
|
||||||
|
@ -85,7 +84,7 @@ window.onload = function () {
|
||||||
if (messageOptions.containsGif) {
|
if (messageOptions.containsGif) {
|
||||||
if (messageOptions.processingGif) {
|
if (messageOptions.processingGif) {
|
||||||
imageCount = message.action.length + 1; // "+1" for the GIF that'll finish processing soon
|
imageCount = message.action.length + 1; // "+1" for the GIF that'll finish processing soon
|
||||||
message.action.unshift({ localPath: loadingGifPath });
|
message.action.unshift({ localPath: messageOptions.loadingGifPath });
|
||||||
message.action.forEach(addImage);
|
message.action.forEach(addImage);
|
||||||
document.getElementById('p0').disabled = true;
|
document.getElementById('p0').disabled = true;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -239,6 +239,7 @@ function processingGifStarted(pathStillSnapshot) {
|
||||||
{
|
{
|
||||||
containsGif: true,
|
containsGif: true,
|
||||||
processingGif: true,
|
processingGif: true,
|
||||||
|
loadingGifPath: Script.resolvePath(Script.resourcesPath() + 'icons/loadingDark.gif'),
|
||||||
canShare: !!isDomainOpen(domainId),
|
canShare: !!isDomainOpen(domainId),
|
||||||
openFeedAfterShare: shouldOpenFeedAfterShare()
|
openFeedAfterShare: shouldOpenFeedAfterShare()
|
||||||
}];
|
}];
|
||||||
|
|
Loading…
Reference in a new issue