fix bug in triangle.html

again