Procházet zdrojové kódy

examples: webgl_shaders_ocean2: Minor fix.

tsone před 10 roky
rodič
revize
7df08e0df9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      examples/webgl_shaders_ocean2.html

+ 1 - 1
examples/webgl_shaders_ocean2.html

@@ -47,7 +47,7 @@
 			var hash = document.location.hash.substr( 1 );
 			if (!(hash in types)) hash = 'float';
 
-			document.getElementById('type-status').innerText = hash;
+			document.getElementById('type-status').innerHTML = hash;
 			document.getElementById('change-type').innerHTML =
 				'<a href="#" onclick="return change(\'' + types[hash] + '\')">' + types[hash] + '</a>';