Removing console.error when history panel is disabled