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