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

Function toggleSyncButton

docs/html/navtree.js:458–470  ·  view source on GitHub ↗
(relpath)

Source from the content-addressed store, hash-verified

456}
457
458function toggleSyncButton(relpath)
459{
460 var navSync = $('#nav-sync');
461 if (navSync.hasClass('sync')) {
462 navSync.removeClass('sync');
463 showSyncOff(navSync,relpath);
464 storeLink(stripPath2(pathName())+hashUrl());
465 } else {
466 navSync.addClass('sync');
467 showSyncOn(navSync,relpath);
468 deleteLink();
469 }
470}
471
472var loadTriggered = false;
473var readyTriggered = false;

Callers 1

initNavTreeFunction · 0.85

Calls 7

showSyncOffFunction · 0.85
storeLinkFunction · 0.85
stripPath2Function · 0.85
pathNameFunction · 0.85
hashUrlFunction · 0.85
showSyncOnFunction · 0.85
deleteLinkFunction · 0.85

Tested by

no test coverage detected