]> git.mxchange.org Git - friendica.git/commitdiff
Make standalone tweaks work with infinite scrolling
authorPierre Rudloff <contact@rudloff.pro>
Wed, 19 Apr 2017 21:51:18 +0000 (23:51 +0200)
committerPierre Rudloff <contact@rudloff.pro>
Wed, 19 Apr 2017 21:51:18 +0000 (23:51 +0200)
view/theme/frio/js/theme.js

index cb03f40b5e7c985969f15bb943d0ce4bbbde7f6b..b46599eddf11b85464ffb7c3215b66aa406627ad 100644 (file)
@@ -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');
                });
        }