mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 17:45:13 +08:00
92b26ecbfb
We had a handful of methods attached to the root `Discourse` object related to focus and notification counts. This patch pulls them out into a service called `document-title` for updating the title, and a component called `d-document` to attach and listen for browser events related to focus. It also removes some computed properties and observers in favor of plain old Javascript objects. |
||
---|---|---|
.. | ||
document-title-test.js |