MCPcopy Create free account
hub / github.com/bloomberg/quantum / toggleSyncButton

Function toggleSyncButton

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

Source from the content-addressed store, hash-verified

468}
469
470function toggleSyncButton(relpath)
471{
472 var navSync = $('#nav-sync');
473 if (navSync.hasClass('sync')) {
474 navSync.removeClass('sync');
475 showSyncOff(navSync,relpath);
476 storeLink(stripPath2(pathName())+hashUrl());
477 } else {
478 navSync.addClass('sync');
479 showSyncOn(navSync,relpath);
480 deleteLink();
481 }
482}
483
484function initNavTree(toroot,relpath)
485{

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