Make standalone tweaks work with infinite scrolling

This commit is contained in:
Pierre Rudloff 2017-04-19 23:51:18 +02:00
parent 2ea2c4b87b
commit 8549da4f7b
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ $(document).ready(function(){
// Customize some elements when the app is used in standalone mode on Android // Customize some elements when the app is used in standalone mode on Android
if (window.matchMedia('(display-mode: standalone)').matches) { if (window.matchMedia('(display-mode: standalone)').matches) {
// Open links to source outside of the webview // Open links to source outside of the webview
$('.plink').on('click', function (e) { $('body').on('click', '.plink', function (e) {
$(e.target).attr('target', '_blank'); $(e.target).attr('target', '_blank');
}); });
} }