nodebb-plugin-composer-default 10.2.37 → 10.2.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-composer-default",
3
- "version": "10.2.37",
3
+ "version": "10.2.38",
4
4
  "description": "Default composer for NodeBB",
5
5
  "main": "library.js",
6
6
  "repository": {
@@ -411,7 +411,7 @@ define('composer', [
411
411
  preview.matchScroll(postContainer);
412
412
  });
413
413
 
414
- if (!utils.isNumber(postData.pid)) {
414
+ if (postData.action === 'posts.edit' && !utils.isNumber(postData.pid)) {
415
415
  handleRemotePid(postContainer);
416
416
  }
417
417
  handleHelp(postContainer);