MDL-59672 coding style: whitespace fixes
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 4 Sep 2017 23:36:36 +0000 (01:36 +0200)
committerDavid Monllao <davidm@moodle.com>
Thu, 7 Sep 2017 08:52:18 +0000 (10:52 +0200)
calendar/amd/src/modal_event_form.js

index 62ed463..034e98d 100644 (file)
@@ -77,7 +77,7 @@ define([
     ModalEventForm.TYPE = 'core_calendar-modal_event_form';
     ModalEventForm.prototype = Object.create(Modal.prototype);
     ModalEventForm.prototype.constructor = ModalEventForm;
-    
+
     /**
      * Set the course id to the given value.
      *
@@ -310,7 +310,7 @@ define([
             args.starttime = this.getStartTime();
         }
 
-        if(this.hasCourseId()) {
+        if (this.hasCourseId()) {
             args.courseid = this.getCourseId();
         }