fixing scroll

This commit is contained in:
Patricio Gonzalez Vivo 2016-05-04 06:31:31 -04:00
parent abfa452c0d
commit 519c62e9a4
3 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,5 @@
// Author: Stefan Gustavson
// Title: Cellular noise ("Worley noise")
// Title: Worley noise
#ifdef GL_ES
precision mediump float;

View File

@ -1,5 +1,5 @@
// Author: Stefan Gustavson
// Title: Cellular noise ("Worley noise")
// Title: Worley noise
#ifdef GL_ES
precision mediump float;

View File

@ -289,8 +289,12 @@ window.cancelRequestAnimFrame = (function() {
})();
window.onload = function(){
window.scrollTo(0, 0);
styleCodeBlocks();
loadGlslElements();
captionizeImages();
window.scrollTo(0, 0);
setTimeout(function () {
window.scrollTo(0, 0);
}, 1000);
};