Comments (6)
Oh, it's intentionally hidden - I guess because removing that line it ends up with two menus if re621 is installed.
Considering the menu button doesn't even seem to do anything when RE621 is installed, I wonder if it should be removing that button itself, unless there's some clever CSS solution you can come up with.
from esix-cafe.
Woke up a few minutes agoooo, didn't sleep 12 hours this time lmaooo
I totally didn't think about what'd happen if re621 wasn't installed on mobile!
Apparently re621 doesn't add data-enhancements
to the body anymore, but it does add a few others such as data-sticky
.
So, assuming that attribute is always added when re621 is installed, fixing the nav should be as easy as changing body.resp #maintoggle
to body[data-sticky] #maintoggle
, hopefully this fix works for you as wellllll!
from esix-cafe.
Works perfectly!!
from esix-cafe.
Sickkkkk! Hopefully that attribute doesn't get changed in the future like data-enhancements
, tho it'd probably be an easy fix in the future if it doessss lollll
from esix-cafe.
The hiding it actually only seems to work on the posts page, other pages still have it :(
Having an extra menu button is still better than users without RE621 getting no menu button at all though... I'm about to make a PR to just incorporate it into RE621 itself because there's really no need to ever have that button there when it has its own menu.
from esix-cafe.
Woke up a few minutes agoooo, didn't sleep 12 hours this time lmaooo I totally didn't think about what'd happen if re621 wasn't installed on mobile! Apparently re621 doesn't add
data-enhancements
to the body anymore, but it does add a few others such asdata-sticky
. So, assuming that attribute is always added when re621 is installed, fixing the nav should be as easy as changingbody.resp #maintoggle
tobody[data-sticky] #maintoggle
, hopefully this fix works for you as wellllll!
@mandorinn Both data-enhancements
and data-sticky
are used to turn specific portions of RE621 on and off.
The former toggles the profile page redesign, the latter – sticky search box.
Both are still being used, but neither can be relied on to detect whether RE621 is running or not.
I've added a new re621
attribute to body in 1.5.41 that is always set to true
.
from esix-cafe.
Related Issues (20)
- Tag categories not colored in autocompletion
- Pending approval notice doesn't show additional information HOT 1
- New wiki page notice not themed HOT 1
- Help index too long for 1366*768 screen HOT 1
- Changes to stats page HOT 1
- Pending replacements don't have a red background HOT 3
- Forum votes overflow the page HOT 1
- Active related tags have no highlighting HOT 3
- \ symbol is replaced with ¥ HOT 1
- News on homepage isn't styled HOT 1
- :has() update: default outline color with classic hexagon too similar to admin? HOT 3
- [Mobile] User borders don't display correctly on blips page HOT 2
- Replacements notice is weird when the post is also pending HOT 1
- [Mobile] Not all tables fit on the screen HOT 1
- [Mobile + re621] Can't search posts because of infinite scrolling HOT 1
- Header logo is gone HOT 1
- Blip buttons on own blips are broken HOT 2
- AIBUR votes and forum icons now overlap HOT 1
- Icons appearing in body of forum posts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esix-cafe.