nodebb-plugin-composer-default 10.2.8 → 10.2.10
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
|
@@ -71,12 +71,11 @@ define('composer/resize', ['taskbar'], function (taskbar) {
|
|
|
71
71
|
var rect = elem.getBoundingClientRect();
|
|
72
72
|
content.style.paddingBottom = (rect.bottom - rect.top).toString() + 'px';
|
|
73
73
|
} else {
|
|
74
|
-
|
|
74
|
+
elem.style.top = 0;
|
|
75
75
|
content.style.paddingBottom = 0;
|
|
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
|
}
|
package/static/lib/composer.js
CHANGED
|
@@ -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
|
|