X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fdispy%2Fhead.tpl;h=cd6f5ca972e97564fc78148d02571650ab4d8c9e;hb=01961f7caa8e6c8ecaaaad9d28c61883863eab68;hp=793af6fd2dbd93ecc2771f9899f848ed15da0d0e;hpb=d369fcc9945f7e9635f154089d455410fe88495a;p=friendica.git diff --git a/view/theme/dispy/head.tpl b/view/theme/dispy/head.tpl index 793af6fd2d..cd6f5ca972 100644 --- a/view/theme/dispy/head.tpl +++ b/view/theme/dispy/head.tpl @@ -7,7 +7,7 @@ - + '); + ins = ins.replace('&','&'); + ins = ins.replace('"','"'); + $("#comment-edit-text-" + id).val(tmpStr + ins); + } + function showHideComments(id) { if( $('#collapsed-comments-' + id).is(':visible')) { $('#collapsed-comments-' + id).hide(); @@ -74,25 +92,6 @@ } } - $(document).ready(function() { - function toggleToolbar() { - if ( $('#nav-floater').is(':visible') ) { - $('#nav-floater').slideUp('fast'); - $('.floaterflip').css({ - backgroundPosition: '-210px -60px' - }); - } else { - $('#nav-floater').slideDown('fast'); - $('.floaterflip').css({ - backgroundPosition: '-190px -60px' - }); - } - }; - $('.floaterflip').click(function() { - toggleToolbar(); - return false; - }); - });