mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
fixed unterminated JS statements + whitespace
This commit is contained in:
parent
7de44c66d3
commit
f7af9f2e4a
3 changed files with 17 additions and 17 deletions
6
blocks/community/yui/comments/comments.js
vendored
6
blocks/community/yui/comments/comments.js
vendored
|
@ -4,7 +4,7 @@ YUI.add('moodle-block_community-comments', function(Y) {
|
|||
|
||||
var COMMENTS = function() {
|
||||
COMMENTS.superclass.constructor.apply(this, arguments);
|
||||
}
|
||||
};
|
||||
|
||||
Y.extend(COMMENTS, Y.Base, {
|
||||
|
||||
|
@ -16,7 +16,7 @@ YUI.add('moodle-block_community-comments', function(Y) {
|
|||
|
||||
//attach a show event on the div with id = comments
|
||||
for (var i=0;i<this.get('commentids').length;i++)
|
||||
{
|
||||
{
|
||||
var commentid = this.get('commentids')[i];
|
||||
this.overlays[commentid] = new M.core.dialogue({
|
||||
headerContent:Y.one('#commentoverlay-'+commentid+' .commenttitle').get('innerHTML'),
|
||||
|
@ -76,7 +76,7 @@ YUI.add('moodle-block_community-comments', function(Y) {
|
|||
//Note: it would work without but create js warning everytime
|
||||
//we click on the body
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue