diff --git a/modules/comment/tpl/declare_comment.html b/modules/comment/tpl/declare_comment.html index a7eb9ff62..2740be0e1 100644 --- a/modules/comment/tpl/declare_comment.html +++ b/modules/comment/tpl/declare_comment.html @@ -51,6 +51,6 @@ } }); msg_area.hide(); - $(window).load(setFixedPopupSize); + $(document).load(setFixedPopupSize); })(jQuery); \ No newline at end of file diff --git a/modules/document/tpl/declare_document.html b/modules/document/tpl/declare_document.html index 0f887de53..602a296c3 100644 --- a/modules/document/tpl/declare_document.html +++ b/modules/document/tpl/declare_document.html @@ -51,6 +51,6 @@ } }); msg_area.hide(); - $(window).load(setFixedPopupSize); + $(document).load(setFixedPopupSize); })(jQuery); \ No newline at end of file