1
0
mirror of https://github.com/flarum/core.git synced 2025-07-28 20:20:34 +02:00

Fix reply composer preview button

closes #238
This commit is contained in:
Toby Zerner
2015-08-31 13:27:04 +09:30
parent af2307868a
commit 283abb88c2
2 changed files with 4 additions and 4 deletions

View File

@@ -61,9 +61,9 @@ export default class DiscussionPage extends Page {
if (idParam && idParam.split('-')[0] === this.discussion.id()) {
e.preventDefault();
const near = Number(m.route.param('near')) || 1;
const near = m.route.param('near') || '1';
if (near !== Number(this.near)) {
if (near !== String(this.near)) {
this.stream.goToNumber(near);
}