1
0
Fork 0

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

View 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');
});
}