From a91592f229026d81f08879bcd5a8b3691a5d23c4 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Notario Date: Mon, 30 Nov 2020 03:55:49 -0300 Subject: [PATCH] Other readme change --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 57b5384..678b15c 100644 --- a/README.md +++ b/README.md @@ -48,8 +48,8 @@ $('.intl-tel-input ~ label').insertAfter('.intl-tel-input input.form-control'); Or this most advanced code (ideal for 2 or more elements): ```JavaScript $('.intl-tel-input, .iti').find('input.form-control').each(function(index, element) { - let label = $(element).parent().find('~ label'); - $(element).after(label); + let label = $(element).parent().find('~ label'); + $(element).after(label); }); ```