From 3538c9b8088fa1d8006f98d6a75ab3ff2f85d39c Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Tue, 12 May 2015 10:43:52 +0200 Subject: [PATCH] Corrected scrolling bug --- static/js/prototype/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/js/prototype/main.js b/static/js/prototype/main.js index 04aef86..4a695fc 100644 --- a/static/js/prototype/main.js +++ b/static/js/prototype/main.js @@ -1,3 +1,6 @@ +// Disable scrolling +window.onscroll = function () { window.scrollTo(0, 0); }; + var mesh_number = 25; var renderer, scene, controls, cube, container, plane, mouse= {x:0, y:0}; var bigmesh;