Casey Holzer 9 лет назад
Родитель
Сommit
6e6e42c9f0
1 измененных файлов с 1 добавлено и 5 удалено
  1. 1 5
      tests/fullheight.html

+ 1 - 5
tests/fullheight.html

@@ -69,7 +69,7 @@
 				}
 			],
 			weekMode: 'liquid',
-			height: calcCalendarHeight()
+			height: calcCalendarHeight
 		});
 		
 		function calcCalendarHeight() {
@@ -78,10 +78,6 @@
 			return h;
 		}
 		
-		$(window).resize(function() {
-			$('#calendar').fullCalendar('option', 'height', calcCalendarHeight());
-		});
-		
 	});
 
 </script>