MCPcopy Create free account
hub / github.com/d35ha/CallObfuscator / toggleInherit

Function toggleInherit

docs/html/dynsections.js:108–120  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

106
107
108function toggleInherit(id)
109{
110 var rows = $('tr.inherit.'+id);
111 var img = $('tr.inherit_header.'+id+' img');
112 var src = $(img).attr('src');
113 if (rows.filter(':first').is(':visible')===true) {
114 rows.css('display','none');
115 $(img).attr('src',src.substring(0,src.length-8)+'closed.png');
116 } else {
117 rows.css('display','table-row'); // using show() causes jump in firefox
118 $(img).attr('src',src.substring(0,src.length-10)+'open.png');
119 }
120}
121/* @license-end */
122
123$(document).ready(function() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected