fix #480, enable bbcode autocomplete for photo comments and remove some redundant javascript

This commit is contained in:
Mario Vavti
2016-08-13 22:17:47 +02:00
parent 165f442d70
commit 1b90e851f9
4 changed files with 3 additions and 16 deletions

View File

@@ -635,6 +635,7 @@ function updateConvItems(mode,data) {
$(".comment-edit-form textarea").editor_autocomplete(baseurl+"/acl?f=&n=1");
/* autocomplete bbcode */
$(".comment-edit-form textarea").bbco_autocomplete('bbcode');
console.log('bla');
var bimgs = ((preloadImages) ? false : $(".wall-item-body img").not(function() { return this.complete; }));
var bimgcount = bimgs.length;