MCPcopy
hub / github.com/mthenw/frontail / _filterLogs

Function _filterLogs

web/assets/app.js:106–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104 * @private
105 */
106 var _filterLogs = function() {
107 var collection = _logContainer.childNodes;
108 var i = collection.length;
109
110 if (i === 0) {
111 return;
112 }
113
114 while (i) {
115 _filterElement(collection[i - 1]);
116 i -= 1;
117 }
118 window.scrollTo(0, document.body.scrollHeight);
119 };
120
121 /**
122 * Set _filterValue from URL parameter `filter`

Callers 1

app.jsFile · 0.85

Calls 1

_filterElementFunction · 0.85

Tested by

no test coverage detected