MCPcopy Create free account
hub / github.com/PowerBroker2/DFPlayerMini_Fast / toggleInherit

Function toggleInherit

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected