mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-08-11 11:18:47 +08:00
hookWindowResize -> handleWindowResize
This commit is contained in:
+3
-1
@@ -94,9 +94,11 @@ function Calendar(element, options, eventSources) {
|
||||
element.prepend(headerElement);
|
||||
}
|
||||
changeView(options.defaultView);
|
||||
if (options.hookWindowResize) {
|
||||
|
||||
if (options.handleWindowResize) {
|
||||
$(window).resize(windowResize);
|
||||
}
|
||||
|
||||
// needed for IE in a 0x0 iframe, b/c when it is resized, never triggers a windowResize
|
||||
if (!bodyVisible()) {
|
||||
lateRender();
|
||||
|
||||
+1
-1
@@ -72,7 +72,7 @@ var defaults = {
|
||||
|
||||
dropAccept: '*',
|
||||
|
||||
hookWindowResize: true
|
||||
handleWindowResize: true
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
//weekMode: 'variable',
|
||||
minTime: '5:30am',
|
||||
maxTime: '5:30pm',
|
||||
|
||||
//handleWindowResize: false,
|
||||
|
||||
// TODO: there is a bug switching into agendaWeek from month with a 1280x1024 (with firebug showing)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user