Przeglądaj źródła

examples: webgl_shaders_ocean2: Minor fix.

tsone 10 lat temu
rodzic
commit
7df08e0df9
1 zmienionych plików z 1 dodań i 1 usunięć
  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>';