remove some old service worker code (#19036)
This commit is contained in:
parent
45e292463e
commit
aa305ddcaf
2 changed files with 0 additions and 12 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue