HTML: rescale dive profile with page zoom in/out

Rescale the dive profile view with page zooming in and out.

Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Gehad elrobey 2014-07-20 22:42:18 +02:00 committed by Dirk Hohndel
parent 03df7b989d
commit 0122b1a6d7

View file

@ -1081,3 +1081,7 @@ function switchDives(e)
}
}
}
window.onresize = function(event) {
plot1.replot( { resetAxes: true } );
};