From 64987b4ef4c1e49a4e3b99668391cda81e1b2952 Mon Sep 17 00:00:00 2001 From: Roman Kravchuk Date: Sun, 25 Nov 2018 12:41:49 +0200 Subject: [PATCH] Fix selector for hostname with "." --- instances/templates/allinstances_index_grouped.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instances/templates/allinstances_index_grouped.html b/instances/templates/allinstances_index_grouped.html index 6efc0c9..7120961 100644 --- a/instances/templates/allinstances_index_grouped.html +++ b/instances/templates/allinstances_index_grouped.html @@ -129,7 +129,7 @@ function hide_host_instances(host) { host_rows = rows.filter("[host='"+host+"']"); host_rows.toggle(); - $('span#collapse_host_instances_'+host).toggleClass("glyphicon-chevron-down").toggleClass("glyphicon-chevron-up"); + $("span[id='collapse_host_instances_"+host+"']").toggleClass("glyphicon-chevron-down").toggleClass("glyphicon-chevron-up"); } {% endblock %}