nodebb-plugin-composer-default 10.2.8 → 10.2.9

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.8",
3
+ "version": "10.2.9",
4
4
  "description": "Default composer for NodeBB",
5
5
  "main": "library.js",
6
6
  "repository": {
@@ -76,7 +76,6 @@ define('composer/resize', ['taskbar'], function (taskbar) {
76
76
  }
77
77
 
78
78
  postContainer.ratio = ratio;
79
- elem.style.visibility = 'visible';
80
79
 
81
80
  taskbar.updateActive(postContainer.attr('data-uuid'));
82
81
  }
@@ -621,8 +621,11 @@ define('composer', [
621
621
  }
622
622
 
623
623
  composer.active = post_uuid;
624
+ const postContainer = $('.composer[data-uuid="' + post_uuid + '"]');
625
+ postContainer.css('visibility', 'visible');
624
626
  $(window).trigger('action:composer.activate', {
625
627
  post_uuid: post_uuid,
628
+ postContainer: postContainer,
626
629
  });
627
630
  }
628
631