MCPcopy Create free account
hub / github.com/zxlie/FeHelper / _resetOmniActions

Function _resetOmniActions

apps/json-format/content-script.js:296–308  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

294 };
295
296 let _resetOmniActions = () => {
297 if (!window.Formatter) {
298 return;
299 }
300 if (Formatter.clearSearch) {
301 Formatter.clearSearch();
302 }
303 if (Formatter.setPlainJsonView) {
304 Formatter.setPlainJsonView(false);
305 }
306 $('#fhJsonSearchInput').val('');
307 _renderOmniSearchState({current: 0, total: 0});
308 };
309
310 let _syncOmniToolbarState = () => {
311 let toolbar = $('#jfToolbar');

Callers 1

_syncOmniToolbarStateFunction · 0.85

Calls 2

_renderOmniSearchStateFunction · 0.85
$Function · 0.50

Tested by

no test coverage detected