Просмотр исходного кода

don't call shouldClearAll from refetchEventSources

Casey Holzer 9 лет назад
Родитель
Сommit
1ce8f32eac
1 измененных файлов с 2 добавлено и 2 удалено
  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 isn't an array (i.e. one event source), add it to an array
 			if (!$.isArray(specificSources)) {
 				specificSources = [ specificSources ];
 			}
-			fetchEventSources(specificSources, shouldClearAll);
+			fetchEventSources(specificSources);
 		}
 	}