MDL-30857 block_community Removing comments hardcoded height

This commit is contained in:
David Monllao 2012-09-10 14:51:32 +08:00
parent 935c3d5ed2
commit 0e0f3beb38

View File

@ -23,8 +23,7 @@ YUI.add('moodle-block_community-comments', function(Y) {
bodyContent:Y.one('#commentoverlay-'+commentid).get('innerHTML'),
visible: false, //by default it is not displayed
lightbox : false,
zIndex:100,
height: '350px'
zIndex:100
});
this.overlays[commentid].get('contentBox').one('.commenttitle').remove();