Skip to content

Commit

Permalink
Merge pull request #4 from hhiptmair/userAgent-fix-ipad
Browse files Browse the repository at this point in the history
fixed userAgent check for iPad
  • Loading branch information
nkh0472 authored May 4, 2021
2 parents b4a0e37 + 412dc38 commit d79e29e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/initialization.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function initialize(a) {
})();
$('#clickToExit').bind('click', toggleDevTools);
window.settings;
if (/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
$('.rrssb-email').remove();
settings = {
os: "other",
Expand Down

0 comments on commit d79e29e

Please sign in to comment.