]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/js/theme.js
Merge pull request #3439 from tobiasd/20170506-token
[friendica.git] / view / theme / frio / js / theme.js
index 047cce16b089f672c6d03ae6dfd70c16c1766fd2..0329ae6c82cb16a287a6238b2d007a41f9dfbfe0 100644 (file)
@@ -332,9 +332,9 @@ $(document).ready(function(){
                        offset_top: 100, // px, header + tab bar + spacing
                        recalc_every: 10
                });
-               // recalculate sticky aside on clicks.
+               // recalculate sticky aside on clicks on <a> elements
                // this handle height changes on expanding submenus
-               $("aside").on("click", function(){
+               $("aside").on("click", "a", function(){
                        $(document.body).trigger("sticky_kit:recalc");
                });
        }