From: Pierre Rudloff Date: Wed, 19 Apr 2017 21:51:18 +0000 (+0200) Subject: Make standalone tweaks work with infinite scrolling X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8549da4f7bb8349e725885978af28905a49ab455;p=friendica.git Make standalone tweaks work with infinite scrolling --- diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index cb03f40b5e..b46599eddf 100644 --- a/view/theme/frio/js/theme.js +++ b/view/theme/frio/js/theme.js @@ -303,7 +303,7 @@ $(document).ready(function(){ // Customize some elements when the app is used in standalone mode on Android if (window.matchMedia('(display-mode: standalone)').matches) { // Open links to source outside of the webview - $('.plink').on('click', function (e) { + $('body').on('click', '.plink', function (e) { $(e.target).attr('target', '_blank'); }); }