mirror of
https://github.com/friendica/friendica
synced 2025-04-25 14:30:10 +00:00
make the addon frio_hovercard working with the frio theme (Note: some changes which belong to the addon itself are going to the frio theme repository, because it's not planned to use the frio_hovercard addon without the frio theme and and vice versa.
The addon frio_hovercard was initatet because we need a new module for the frio theme
This commit is contained in:
parent
462a942df2
commit
adefc315f7
7 changed files with 943 additions and 75 deletions
21
js/theme.js
21
js/theme.js
|
@ -96,27 +96,6 @@ $(document).ready(function(){
|
|||
}
|
||||
});
|
||||
|
||||
// Loading remote bootstrap remote modals
|
||||
// This is uses to load tradional friendica pages into bootstrap modals
|
||||
//
|
||||
// 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();
|
||||
$(".wall-item-body a img").each(function(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue