Casey Holzer преди 9 години
родител
ревизия
6e6e42c9f0
променени са 1 файла, в които са добавени 1 реда и са изтрити 5 реда
  1. 1 5
      tests/fullheight.html

+ 1 - 5
tests/fullheight.html

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