]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/js/theme.js
Merge pull request #3458 from Hypolite/bug/missing-require-poco
[friendica.git] / 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');
                });
        }