Make standalone tweaks work with infinite scrolling
This commit is contained in:
parent
2ea2c4b87b
commit
8549da4f7b
|
@ -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');
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue