Skip to content

Commit

Permalink
Update pdt360DegViewer.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeya-Prakash committed Jan 10, 2018
1 parent b939a11 commit e2c4723
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pdt360DegViewer.js
Expand Up @@ -7,7 +7,7 @@ function pdt360DegViewer(id, n, p, t, playable, autoPlay, draggable, mouseMove,
var i = 1, j = 0, move = [],
mainDiv = document.querySelector(`#${id}`);
mainDiv.className = 'viewer';
mainDiv.innerHTML += `<img class="${id}" draggable="false" src='${p}${i}.${t}'>`;
mainDiv.innerHTML += `<img class="${id} ${playable ? 'playable ' : ''}${autoPlay ? 'autoPlay ' : ''}${draggable ? 'draggable ' : ''}${mouseMove ? 'mouseMove ' : ''}${buttons ? 'buttons ' : ''}${keys ? 'keys ' : ''}${scroll ? 'scroll ' : ''}" draggable="false" src='${p}${i}.${t}'>`;
mainDiv.innerHTML +=
'<div class="loader"><div class="three-bounce"><div class="one"></div><div class="two"></div><div class="three"></div></div></div>'

Expand Down Expand Up @@ -249,4 +249,4 @@ function pdt360DegViewer(id, n, p, t, playable, autoPlay, draggable, mouseMove,
}
});
}
}
}

0 comments on commit e2c4723

Please sign in to comment.