summaryrefslogtreecommitdiffstats
path: root/src/dynsections_js.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dynsections_js.h')
-rw-r--r--src/dynsections_js.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dynsections_js.h b/src/dynsections_js.h
index ac507a4..c2f5767 100644
--- a/src/dynsections_js.h
+++ b/src/dynsections_js.h
@@ -68,10 +68,10 @@
" var img = $('tr.inherit_header.'+id+' img');\n"
" var src = $(img).attr('src');\n"
" if (rows.filter(':first').is(':visible')===true) {\n"
-" rows.hide();\n"
+" rows.css('display','none');\n"
" $(img).attr('src',src.substring(0,src.length-8)+'closed.png');\n"
" } else {\n"
-" rows.show();\n"
+" rows.css('display','table-row'); // using show() causes jump in firefox\n"
" $(img).attr('src',src.substring(0,src.length-10)+'open.png');\n"
" }\n"
"}\n"