]> git.mxchange.org Git - friendica.git/blobdiff - js/main.js
rework autocomplete: add class dir and static function
[friendica.git] / js / main.js
index bba5e92969771dc9d039e65d3b8a152b903642fe..1ed0c4b6afa0647142dc905c2db965364f22ad5f 100644 (file)
@@ -9,7 +9,7 @@
                if (h==ch) {
                        return;
                }
-               console.log("_resizeIframe", obj, desth, ch);
+               //console.log("_resizeIframe", obj, desth, ch);
                if (desth!=ch) {
                        setTimeout(_resizeIframe, 500, obj, ch);
                } else {
                                $('body').css('cursor', 'auto');
                        }
                        /* autocomplete @nicknames */
-                       $(".comment-edit-form  textarea").contact_autocomplete(baseurl+"/acl");
+                       $(".comment-edit-form  textarea").editor_autocomplete(baseurl+"/acl");
 
                        // setup videos, since VideoJS won't take care of any loaded via AJAX
                        if(typeof videojs != 'undefined') videojs.autoSetup();