aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_network.js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-04-26 15:40:59 +0200
committerMario Vavti <mario@mariovavti.com>2018-04-26 15:40:59 +0200
commit63c76eae0c87a07e5ee0fc7b88a3e6c56bba6969 (patch)
tree3fd023b6dc4e5190c17932cf7c0f7332b30eeed7 /view/js/mod_network.js
parent94317854665bc64c53271daada2ada15d238c988 (diff)
downloadvolse-hubzilla-63c76eae0c87a07e5ee0fc7b88a3e6c56bba6969.tar.gz
volse-hubzilla-63c76eae0c87a07e5ee0fc7b88a3e6c56bba6969.tar.bz2
volse-hubzilla-63c76eae0c87a07e5ee0fc7b88a3e6c56bba6969.zip
a better way to deal with js errors in autocomplete plugins if the object is not available
Diffstat (limited to 'view/js/mod_network.js')
-rw-r--r--view/js/mod_network.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/view/js/mod_network.js b/view/js/mod_network.js
index 22a5e9ba6..2899bbacd 100644
--- a/view/js/mod_network.js
+++ b/view/js/mod_network.js
@@ -1,5 +1,4 @@
$(document).ready(function() {
- if($("#search-text").length)
- $("#search-text").contact_autocomplete(baseurl + '/search_ac','',true);
+ $("#search-text").contact_autocomplete(baseurl + '/search_ac','',true);
});