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}}