Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Disables the navigation to the previous month in FullCalendar. Place in the renderView function (around line 368 in version 1.5.4)) before ignoreWindowResize--; near the end of the function.
var lammCurrentDate = new Date();
var lammMinDate = new Date( lammCurrentDate.getFullYear(), lammCurrentDate.getMonth(), 1, 0, 0, 0, 0);
if (currentView.start <= lammMinDate){
} else {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment