Merge pull request #2465 from flarum/0.1.0-beta.14.1

This commit is contained in:
Alexander Skvortsov 2020-11-29 17:45:58 -05:00 committed by GitHub
commit d85e5c31b7
4 changed files with 13 additions and 3 deletions

View File

@ -1,5 +1,15 @@
# Changelog # Changelog
## [0.1.0-beta.14.1](https://github.com/flarum/core/compare/v0.1.0-beta.14...v0.1.0-beta.14.1)
### Fixed
- SuperTextarea component is not exported.
- Symfony dependencies do not match those depended on by Laravel (#2407)
- Scripts from textformatter aren't executed (#2415)
- Sub path installations have no page title.
- Losing focus of Composer area when coming from fullscreen.
## [0.1.0-beta.14](https://github.com/flarum/core/compare/v0.1.0-beta.13...v0.1.0-beta.14) ## [0.1.0-beta.14](https://github.com/flarum/core/compare/v0.1.0-beta.13...v0.1.0-beta.14)
### Added ### Added

View File

@ -270,7 +270,7 @@ export default class Application {
updateTitle() { updateTitle() {
const count = this.titleCount ? `(${this.titleCount}) ` : ''; const count = this.titleCount ? `(${this.titleCount}) ` : '';
const pageTitleWithSeparator = this.title && m.route.get() !== '/' ? this.title + ' - ' : ''; const pageTitleWithSeparator = this.title && m.route.get() !== this.forum.attribute('basePath') + '/' ? this.title + ' - ' : '';
const title = this.forum.attribute('title'); const title = this.forum.attribute('title');
document.title = count + pageTitleWithSeparator + title; document.title = count + pageTitleWithSeparator + title;
} }

View File

@ -199,7 +199,7 @@ export default class Composer extends Component {
*/ */
animatePositionChange() { animatePositionChange() {
// When exiting full-screen mode: focus content // When exiting full-screen mode: focus content
if (this.prevPosition === ComposerState.Position.FULLSCREEN) { if (this.prevPosition === ComposerState.Position.FULLSCREEN && this.state.position === ComposerState.Position.NORMAL) {
this.focus(); this.focus();
return; return;
} }

View File

@ -21,7 +21,7 @@ class Application
* *
* @var string * @var string
*/ */
const VERSION = '0.1.0-beta.14'; const VERSION = '0.1.0-beta.14.1';
/** /**
* The IoC container for the Flarum application. * The IoC container for the Flarum application.