Etymology
Today it means: In a funny or amusing manner. Full definition →
From funny + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.