]> git.mxchange.org Git - friendica.git/commitdiff
frio: some hover card css fixes (enable on mouseleave again - forgot it)
authorrabuzarus <>
Tue, 7 Jun 2016 08:16:31 +0000 (10:16 +0200)
committerrabuzarus <>
Tue, 7 Jun 2016 08:16:31 +0000 (10:16 +0200)
view/theme/frio/js/hovercard.js

index f17d47cd2d100e18774b18047ad63cf11028dc43..6e2a827cd657a716e02ffde4f2b4b3e100ed615b 100644 (file)
@@ -112,7 +112,7 @@ $(document).ready(function(){
        });
        $('body').on('mouseleave','.hovercard', function(e) {
                $(this).removeClass('dont-remove-card');
-               //$(this).popover("hide");
+               $(this).popover("hide");
        });
 
 }); // End of $(document).ready
@@ -128,7 +128,7 @@ function removeAllhoverCards(event,priorTo) {
                                // don't remove it if we're hovering it right now!
                                if(!$(this).hasClass('dont-remove-card')) {
                                        $('[data-hover-card-active="' + $(this).data('card-created') + '"]').removeAttr('data-hover-card-active');
-                                       //(this).popover("hide");
+                                       $(this).popover("hide");
                                }
                        }
                });