scinote-web/app/assets/javascripts/my_modules/pwa_mobile_app.js

7 lines
142 B
JavaScript
Raw Normal View History

2020-10-19 18:17:03 +08:00
(function() {
// Show button only on mobile devices
if ('ontouchstart' in window) {
$('.open-mobile-app-container').show();
}
2020-10-19 18:17:03 +08:00
}());