浏览代码

examples: webgl_shaders_ocean2: Minor fix.

tsone 10 年之前
父节点
当前提交
7df08e0df9
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>';