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

Function toggleLevel

docs/html/dynsections.js:52–71  ·  view source on GitHub ↗
(level)

Source from the content-addressed store, hash-verified

50}
51
52function toggleLevel(level)
53{
54 $('table.directory tr').each(function() {
55 var l = this.id.split('_').length-1;
56 var i = $('#img'+this.id.substring(3));
57 var a = $('#arr'+this.id.substring(3));
58 if (l<level+1) {
59 i.removeClass('iconfopen iconfclosed').addClass('iconfopen');
60 a.html('&#9660;');
61 $(this).show();
62 } else if (l==level+1) {
63 i.removeClass('iconfclosed iconfopen').addClass('iconfclosed');
64 a.html('&#9658;');
65 $(this).show();
66 } else {
67 $(this).hide();
68 }
69 });
70 updateStripes();
71}
72
73function toggleFolder(id)
74{

Callers

nothing calls this directly

Calls 1

updateStripesFunction · 0.85

Tested by

no test coverage detected