remove some old service worker code (#19036)

This commit is contained in:
Ridhwana 2023-02-03 11:51:04 +02:00 committed by GitHub
parent 45e292463e
commit aa305ddcaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 12 deletions

View file

@ -11,15 +11,6 @@ body {
flex-direction: column;
min-height: 100vh;
&.hidden-shell {
padding-top: 0 !important;
.crayons-header,
.crayons-footer {
display: none;
}
}
&.user-tags-followed-0,
&.user-tags-followed-1,
&.user-tags-followed-2 {

View file

@ -22,9 +22,6 @@
if (navigator.userAgent === 'DEV-Native-ios') {
document.body.classList.add("dev-ios-native-body");
}
if (window.frameElement) { // Hide top bar and footer when loaded within iframe
document.body.classList.add("hidden-shell");
}
if (userString && userString.length > 0) {
const user = JSON.parse(userString)
const numTags = JSON.parse(user.followed_tags).length