Skip to content

Commit

Permalink
Merge pull request #23 from noriyotcp/debugging-on-mobile
Browse files Browse the repository at this point in the history
debugging on mobile
  • Loading branch information
noriyotcp authored Oct 4, 2024
2 parents 41cd889 + e44d5fe commit 76788e6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions assets/js/hotkeys.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ document.addEventListener("DOMContentLoaded", function () {
}

// For debugging purpose
const isMobileDevice = isMobile();
if (isMobileDevice) {
if (/iphone|ipad|ipod/i.test(window.navigator.userAgent)) {
const siteSubTitle = document.querySelector(".site-subtitle");
siteSubTitle.innerHTML = "Noriyo Akita's Today I Learned (on Mobile)"
}
Expand Down

0 comments on commit 76788e6

Please sign in to comment.