Add reload on resize event to regenerate the graphs correctly

This commit is contained in:
Louis Bailleul
2015-11-26 12:14:57 +00:00
parent a62067a5b9
commit 4d6e194a52
2 changed files with 30 additions and 6 deletions

View File

@@ -4,3 +4,5 @@ if(isset($_REQUEST['width']) AND isset($_REQUEST['height'])) {
$_SESSION['screen_width'] = $_REQUEST['width'];
$_SESSION['screen_height'] = $_REQUEST['height'];
}
echo $_SESSION['screen_width'];
echo $_SESSION['screen_height'];