mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 05:52:38 +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 loadingGifPath = '../../../resources/icons/loadingDark.gif';
|
||||
function addImage(data) {
|
||||
if (!data.localPath) {
|
||||
return;
|
||||
|
@ -85,7 +84,7 @@ window.onload = function () {
|
|||
if (messageOptions.containsGif) {
|
||||
if (messageOptions.processingGif) {
|
||||
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);
|
||||
document.getElementById('p0').disabled = true;
|
||||
} else {
|
||||
|
|
|
@ -239,6 +239,7 @@ function processingGifStarted(pathStillSnapshot) {
|
|||
{
|
||||
containsGif: true,
|
||||
processingGif: true,
|
||||
loadingGifPath: Script.resolvePath(Script.resourcesPath() + 'icons/loadingDark.gif'),
|
||||
canShare: !!isDomainOpen(domainId),
|
||||
openFeedAfterShare: shouldOpenFeedAfterShare()
|
||||
}];
|
||||
|
|
Loading…
Reference in a new issue