MCPcopy Index your code
hub / github.com/Threadfin/Threadfin / showStreams

Function showStreams

html/js/base.js:229–258  ·  view source on GitHub ↗
(force)

Source from the content-addressed store, hash-verified

227// body...
228
229function showStreams(force) {
230
231 var elmBox = document.getElementById("myStreamsBox");
232 var elm = document.getElementById("allStreams");
233 //console.log(elm);
234 show = elm.className;
235
236 switch (force) {
237 case true: show = "notVisible"; break;
238 case false: show = "visible"; break;
239 }
240
241 switch (show) {
242 case "notVisible":
243 elm.className = "visible";
244 elmBox.style.height = "100px";
245 break;
246
247 default:
248 elm.className = "notVisible";
249 elmBox.style.height = "20px";
250 break;
251 }
252
253 var show = elm.style.display; {
254 //console.log(elm.style.display);
255 }
256
257 calculateWrapperHeight();
258}
259
260function ThreadfinBackup() {
261 console.log("ThreadfinBackup");

Callers 1

toggleMenuFunction · 0.85

Calls 1

calculateWrapperHeightFunction · 0.85

Tested by

no test coverage detected