Skip to content

Commit

Permalink
Fix all styles
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqiNs committed Sep 22, 2018
1 parent 7abfa81 commit 8e9ba02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions static/js/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function dayConverter (day) {

/**
* Check if there is an existing event that overlaps with the new event.
* @param {object} newEvent - The new event that needs to be added to calendar.
* @param {Object} newEvent - The new event that needs to be added to calendar.
* @returns {boolean} - If overlapping, return true, otherwise return false.
*/
function eventIsOverlap (newEvent) {
Expand Down Expand Up @@ -88,7 +88,7 @@ export function readyCalendar () {
// Create the full calendar object.
$('#calendar').fullCalendar({
height: 800,
header: {left: '', center: '', right: ''},
header: { left: '', center: '', right: '' },
editable: true, // Make the calendar editable.
allDaySlot: false, // Hide "all day" at the top.
defaultView: 'agendaWeek', // Display as weeks.
Expand Down Expand Up @@ -123,7 +123,7 @@ export function readyCalendar () {

/**
* Add class from data table to calendar.
* @param event - The event object that was clicked.
* @param {Object} event - The event object that was clicked.
* @returns {void} - This function has no return.
*/
export function toCalendar (event) {
Expand Down
2 changes: 1 addition & 1 deletion static/js/class_table.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function convertDataTable (table) {

/**
* This function sets expand data row when click.
* @param event - The event object that was clicked.
* @param {Object} event - The event object that was clicked.
* @returns {void} - This function has no return.
*/
export function expandDataRow (event) {
Expand Down

0 comments on commit 8e9ba02

Please sign in to comment.