MCPcopy Create free account
hub / github.com/RocketMap/RocketMap / searchControl

Function searchControl

static/js/map.js:248–250  ·  view source on GitHub ↗
(action)

Source from the content-addressed store, hash-verified

246
247var searchControlURI = 'search_control'
248function searchControl (action) {
249 $.post(searchControlURI + '?action=' + encodeURIComponent(action))
250}
251function updateSearchStatus () {
252 $.getJSON(searchControlURI).then(function (data) {
253 $('#search-switch').prop('checked', data.status)

Callers 1

map.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected