From d22424177c5b6a1058609550ec8775e4c08db953 Mon Sep 17 00:00:00 2001 From: Nathaniel Sabanski Date: Sun, 24 Sep 2023 00:56:40 -0700 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 060fc6a..f18cf0f 100644 --- a/README.md +++ b/README.md @@ -206,7 +206,7 @@ Looking for stuff [we recommend doing in vanilla JS](#no-surreal)? * ▶️ `any('button').remove()` * 🔗 `classAdd` 🔁 `class_add` 🔁 `addClass` 🔁 `add_class` * ▶️ `me().classAdd('active')` - * Leading `.` is optional for all class functions, to prevent typical syntax errors with `me()` and `any()`. + * Leading `.` is **optional** for all class functions, and is removed automatically. * These are the same: `me().classAdd('active')` 🔁 `me().classAdd('.active')` * 🔗 `classRemove` 🔁 `class_remove` 🔁 `removeClass` 🔁 `remove_class` * ▶️ `me().classRemove('active')`