Prechádzať zdrojové kódy

don't call shouldClearAll from refetchEventSources

Casey Holzer 9 rokov pred
rodič
commit
1ce8f32eac
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      src/Calendar.js

+ 2 - 2
src/Calendar.js

@@ -706,13 +706,13 @@ function Calendar_constructor(element, overrides) {
 	}
 	}
 
 
 
 
-	function refetchEventSources(specificSources, shouldClearAll) {
+	function refetchEventSources(specificSources) {
 		if (specificSources) {
 		if (specificSources) {
 			// if specificSources isn't an array (i.e. one event source), add it to an array
 			// if specificSources isn't an array (i.e. one event source), add it to an array
 			if (!$.isArray(specificSources)) {
 			if (!$.isArray(specificSources)) {
 				specificSources = [ specificSources ];
 				specificSources = [ specificSources ];
 			}
 			}
-			fetchEventSources(specificSources, shouldClearAll);
+			fetchEventSources(specificSources);
 		}
 		}
 	}
 	}