From: rabuzarus <> Date: Sat, 16 Apr 2016 23:13:56 +0000 (+0200) Subject: use modal for wall message X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9dafe525c848c6c6f525e03f6ca64e950d298b50;p=friendica.git use modal for wall message --- diff --git a/js/theme.js b/js/theme.js index 57b67d2c7b..58fca68c89 100644 --- a/js/theme.js +++ b/js/theme.js @@ -56,22 +56,23 @@ $(document).ready(function(){ // Loading remote bootstrap remote modals // This is uses to load tradional friendica pages into bootstrap modals // - $('a[rel=modal]').on('click', function(evt) { - evt.preventDefault(); - var modal = $('#modal').modal(); - modal - .find('#modal-body') - .load($(this).attr("href"), function (responseText, textStatus) { - if ( textStatus === 'success' || - textStatus === 'notmodified') - { - modal.show(); - - //Get first h3 element and use it as title - loadModalTitle(); - } - }); - }); + // commentent out because we actually don't use it anymore +// $('a[rel=modal]').on('click', function(evt) { +// evt.preventDefault(); +// var modal = $('#modal').modal(); +// modal +// .find('#modal-body') +// .load($(this).attr("href"), function (responseText, textStatus) { +// if ( textStatus === 'success' || +// textStatus === 'notmodified') +// { +// modal.show(); +// +// //Get first h3 element and use it as title +// loadModalTitle(); +// } +// }); +// }); // Add Colorbox for viewing Network page images //var cBoxClasses = new Array(); diff --git a/templates/profile_vcard.tpl b/templates/profile_vcard.tpl index 059a19e41a..50b03bad11 100644 --- a/templates/profile_vcard.tpl +++ b/templates/profile_vcard.tpl @@ -49,7 +49,7 @@ {{/if}} {{if $wallmessage}}