MDL-30857 block_community Removing comments hardcoded height

This commit is contained in:
David Monllao
2012-09-10 15:00:46 +08:00
parent 71e12dc963
commit 360769aa0f
+2 -3
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();
@@ -86,4 +85,4 @@ YUI.add('moodle-block_community-comments', function(Y) {
}, '@VERSION@', {
requires:['base','overlay', 'moodle-enrol-notification']
});
});