aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorStefan Parviainen <saparvia@caterva.eu>2015-01-05 00:28:42 +0100
committerStefan Parviainen <saparvia@caterva.eu>2015-01-05 00:28:42 +0100
commitc14dc699ae749b5242f1ce14847a1db4c0eebc30 (patch)
treee4625b9e73b118d04a5bbd2ab3475334283df6ff /view/js
parenta7db0ed0716e9dd51f33469620303e6126251d4f (diff)
downloadvolse-hubzilla-c14dc699ae749b5242f1ce14847a1db4c0eebc30.tar.gz
volse-hubzilla-c14dc699ae749b5242f1ce14847a1db4c0eebc30.tar.bz2
volse-hubzilla-c14dc699ae749b5242f1ce14847a1db4c0eebc30.zip
Fix initEditor on non-wall pages
Diffstat (limited to 'view/js')
-rw-r--r--view/js/autocomplete.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js
index 259dca1bc..cc14f75d1 100644
--- a/view/js/autocomplete.js
+++ b/view/js/autocomplete.js
@@ -43,7 +43,8 @@ function replace(item) {
* jQuery plugin 'contact_autocomplete'
*/
(function( $ ){
- $.fn.contact_autocomplete = function(backend_url, extra_channels = null) {
+ $.fn.contact_autocomplete = function(backend_url, extra_channels) {
+ if (typeof extra_channels === 'undefined') extra_channels = false;
// Autocomplete contacts
contacts = {