mirror of https://github.com/zulip/zulip.git
3b4c49e0e2
Before we used a selector to check whether the "Subscribed" tab is active or not. The problem is that if a new sibling of the tab switcher is inserted in the DOM and uses the same classes as the "Subscribed" and "All Streams" button do, the selector can get the sibling element instead the tab button. To avoid that, we are using a variable that tracks the current active tab instead of using the selector. |
||
---|---|---|
.. | ||
assets | ||
audio | ||
generated | ||
html | ||
images | ||
js | ||
shared | ||
styles | ||
templates | ||
third | ||
.eslintrc.json | ||
.gitignore | ||
favicon.ico |