Skip to content

Commit 603f2ca

Browse files
authored
Merge pull request #25 from mdn/estelle-patch-1
Make the JS button require JS to show.
2 parents 0691371 + f91f332 commit 603f2ca

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

a2hs/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ if ('serviceWorker' in navigator) {
2323

2424
let deferredPrompt;
2525
const addBtn = document.querySelector('.add-button');
26-
addBtn.style.display = 'none';
2726

2827
window.addEventListener('beforeinstallprompt', (e) => {
2928
// Prevent Chrome 67 and earlier from automatically showing the prompt

a2hs/style.css

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ img {
1717
position: absolute;
1818
top: 1px;
1919
left: 1px;
20+
display: none;
2021
}
2122

2223
@media (orientation: landscape) {

0 commit comments

Comments
 (0)