mirror of
https://github.com/flarum/core.git
synced 2025-07-12 20:36:28 +02:00
Add preview button to composer
This commit is contained in:
@ -123,8 +123,6 @@ export default class DiscussionPage extends mixin(Component, evented) {
|
||||
config(isInitialized, context) {
|
||||
if (isInitialized) return;
|
||||
|
||||
// context.retain = true;
|
||||
|
||||
$('#app').addClass('App--discussion');
|
||||
context.onunload = () => $('#app').removeClass('App--discussion');
|
||||
}
|
||||
|
Reference in New Issue
Block a user