Browse Source

fixed overflow on slide rendered images, maybe

visualizer
edoardoo 10 years ago
parent
commit
14ebfb1a5d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      public/scripts/functions.js

+ 1
- 1
public/scripts/functions.js View File

@ -155,7 +155,7 @@ function slideBack(){
function slideForward(){
var actual = document.getElementById("renderedHoneyComb").getElementsByClassName("visible")[0];
var actualId = actual.id.split("_")[1];
if(actualId < document.getElementsByClassName("renderedCanvas").length){
if(actualId < document.getElementsByClassName("renderedCanvas").length - 1){
actualId++;
actual.className = "renderedCanvas";
document.getElementById("rendered_"+actualId).className += " visible";


Loading…
Cancel
Save