Fix initEditor on non-wall pages

This commit is contained in:
Stefan Parviainen
2015-01-05 00:28:42 +01:00
parent a7db0ed071
commit c14dc699ae
2 changed files with 6 additions and 2 deletions

View File

@@ -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 = {