Преглед изворни кода

fix eventOverlap arg order

Adam Shaw пре 8 година
родитељ
комит
9c8becf5d7
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/Calendar.constraints.js

+ 2 - 2
src/Calendar.constraints.js

@@ -214,8 +214,8 @@ function isOverlapEventInstancesAllowed(overlapEventFootprints, subjectEventInst
 		else if (typeof overlapVal === 'function') {
 			if (
 				!overlapVal(
-					subjectEventInstance.toLegacy(),
-					overlapEventInstance.toLegacy()
+					overlapEventInstance.toLegacy(),
+					subjectEventInstance.toLegacy()
 				)
 			) {
 				return false;