IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Просмотр исходного кода

Restored polling whether Papaya loaded.

master
Stanislaw Adaszewski 4 лет назад
Родитель
Сommit
9687678d6b
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      frontend/src/js/page/wb-image-viewer-page.js

+ 1
- 1
frontend/src/js/page/wb-image-viewer-page.js Просмотреть файл

@@ -45,7 +45,7 @@ function downloadFile(arvHost, arvToken, file) {
const poll = () => {
setTimeout(() => {
console.log('Polling Papaya startup...')
if (true) { // window.papayaContainers && window.papayaContainers[0]) {
if (window.papaya && window.papaya.Container) { // window.papayaContainers && window.papayaContainers[0]) {
console.log('Great, Papaya started!');
papaya.Container.startPapaya();
//papaya.Container.addImage(0, big.buffer);


Загрузка…
Отмена
Сохранить