mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-23 12:50:56 +01:00
temp fix for #2994
This commit is contained in:
@@ -284,8 +284,15 @@ define('composer', [
|
||||
|
||||
composer.bsEnvironment = utils.findBootstrapEnvironment();
|
||||
|
||||
// see
|
||||
// https://github.com/NodeBB/NodeBB/issues/2994 and
|
||||
// https://github.com/NodeBB/NodeBB/issues/1951
|
||||
// remove when 1951 is resolved
|
||||
|
||||
var title = postData.title.replace(/%/g, '%').replace(/,/g, ',');
|
||||
|
||||
var data = {
|
||||
title: postData.title,
|
||||
title: title,
|
||||
mobile: composer.bsEnvironment === 'xs' || composer.bsEnvironment === 'sm',
|
||||
allowTopicsThumbnail: allowTopicsThumbnail,
|
||||
isTopicOrMain: isTopic || isMain,
|
||||
|
||||
Reference in New Issue
Block a user