MCPcopy Index your code
hub / github.com/ClearURLs/Addon / setHashStatus

Function setHashStatus

core_js/popup.js:68–80  ·  view source on GitHub ↗

* Set the value for the hashStatus on startUp.

()

Source from the content-addressed store, hash-verified

66* Set the value for the hashStatus on startUp.
67*/
68function setHashStatus()
69{
70 let element = document.getElementById('hashStatus');
71
72 if(hashStatus)
73 {
74 element.textContent = translate(hashStatus);
75 }
76 else {
77 element.textContent = translate('hash_status_code_5');
78 }
79
80}
81
82/**
83* Change the value of a switch button.

Callers 1

initFunction · 0.85

Calls 1

translateFunction · 0.70

Tested by

no test coverage detected