mirror of
https://github.com/discourse/DiscoTOC.git
synced 2026-09-18 08:02:14 -04:00
Why this change? We've established internally that this is the better way to do things
10 lines
246 B
JavaScript
10 lines
246 B
JavaScript
import Component from "@glimmer/component";
|
|
import { action } from "@ember/object";
|
|
|
|
export default class DTocMini extends Component {
|
|
@action
|
|
showTOCOverlay() {
|
|
document.querySelector(".d-toc-wrapper").classList.toggle("overlay");
|
|
}
|
|
}
|