diff --git a/examples/basic.html b/examples/basic.html index b0d421a..20ed56d 100644 --- a/examples/basic.html +++ b/examples/basic.html @@ -60,7 +60,8 @@ end: new Date(y, m, 29), url: "http://facebook.com/" } - ] + ], + rightToLeft: false }); }); diff --git a/fullcalendar.css b/fullcalendar.css index 8704173..68ce1a4 100644 --- a/fullcalendar.css +++ b/fullcalendar.css @@ -1,9 +1,8 @@ /* top area w/ month title and buttons */ - + .full-calendar-title { - float: left; - margin: 0 0 1em; + text-align: left; } .full-calendar-buttons { @@ -142,7 +141,7 @@ /* right-to-left support */ .r2l .full-calendar-title { - float: right; + text-align: right; } .r2l .full-calendar-buttons { diff --git a/fullcalendar.js b/fullcalendar.js index c9be199..e3c17c6 100644 --- a/fullcalendar.js +++ b/fullcalendar.js @@ -96,9 +96,6 @@ var titleElement, todayButton, monthElement, monthElementWidth; var header = $("
").appendTo(this); - if (options.title !== false) - titleElement = $("").appendTo(header); - if (bo) { var buttons = $("").appendTo(header); var prevButton, nextButton; @@ -123,9 +120,13 @@ else buttons.append(nextButton); } } + + if (options.title !== false) + titleElement = $("").appendTo(header); monthElement = $("") .appendTo($("").appendTo(this)); +