Now that James didn't openly despise her, the Marauders kept her around a whole lot more often. Hermione suspected that nothing had really changed. James tolerated her because they were working together, and probably hadn't actually altered his opinion of her. Perhaps he just no longer resented her presence.