diff options
Diffstat (limited to 'view/js')
-rw-r--r-- | view/js/mod_network.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/view/js/mod_network.js b/view/js/mod_network.js index 2899bbacd..22a5e9ba6 100644 --- a/view/js/mod_network.js +++ b/view/js/mod_network.js @@ -1,4 +1,5 @@ $(document).ready(function() { - $("#search-text").contact_autocomplete(baseurl + '/search_ac','',true); + if($("#search-text").length) + $("#search-text").contact_autocomplete(baseurl + '/search_ac','',true); }); |