X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrost%2Fjs%2Fmain.js;h=1c865ac3ae7c64d60dcaeedf4695d3f28e15301a;hb=6668d22d370f18a3282eba2964c8e1d92278b046;hp=e47ecff376bd6f40dca6d66994ebe3564d49087d;hpb=0d5b8dfafde4d66c8cd6978ad83e639938aaf3bd;p=friendica.git diff --git a/view/theme/frost/js/main.js b/view/theme/frost/js/main.js index e47ecff376..1c865ac3ae 100644 --- a/view/theme/frost/js/main.js +++ b/view/theme/frost/js/main.js @@ -180,9 +180,9 @@ nnm.append(html); }); - $("img[data-src]", nnm).each(function(i, el){ + $j("img[data-src]", nnm).each(function(i, el){ // Add src attribute for images with a data-src attribute - $(el).attr('src', $(el).data("src")); + $j(el).attr('src', $j(el).data("src")); }); } notif = eNotif.attr('count'); @@ -682,9 +682,9 @@ function setupFieldRichtext(){ entity_encoding : "raw", add_unload_trigger : false, remove_linebreaks : false, - force_p_newlines : false, - force_br_newlines : true, - forced_root_block : '', + //force_p_newlines : false, + //force_br_newlines : true, + forced_root_block : 'div', convert_urls: false, content_css: baseurl+"/view/custom_tinymce.css", theme_advanced_path : false,