mirror of
https://gitea.com/gitea/docs.git
synced 2026-06-11 04:31:26 +00:00
bugfix (3d viewer): fixed a typo that prevented the script from working (#227)
Reviewed-on: https://gitea.com/gitea/docs/pulls/227 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: recoolcz <recoolcz@noreply.gitea.com> Co-committed-by: recoolcz <recoolcz@noreply.gitea.com>
This commit is contained in:
@@ -184,7 +184,7 @@ Here create file "footer.tmpl" and add following text into it:
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
// Supported 3D file types
|
||||
const fileTypes = ['3dm', '3ds', '3mf', 'amf', 'bim', 'brep', 'dae', 'fbx', 'fcstd', 'glb', 'gltf', 'ifc', 'igs', 'iges', 'stp'. 'step', 'stl', 'obj', 'off', 'ply', 'wrl'];
|
||||
const fileTypes = ['3dm', '3ds', '3mf', 'amf', 'bim', 'brep', 'dae', 'fbx', 'fcstd', 'glb', 'gltf', 'ifc', 'igs', 'iges', 'stp', 'step', 'stl', 'obj', 'off', 'ply', 'wrl'];
|
||||
|
||||
// Select matching link
|
||||
const links = Array.from(document.querySelectorAll('a.ui.mini.basic.button'));
|
||||
|
||||
Reference in New Issue
Block a user