diff --git a/CHANGELOG.md b/CHANGELOG.md index c89d8b0..04c3ca2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## 1.2.4 - 2021-01-27 + +### Fixed +- Fixes compatability issues with Craft 3.6 + ## 1.2.3 - 2020-10-23 ### Improved diff --git a/composer.json b/composer.json index d2e50df..a6c1251 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "mmikkel/cp-field-inspect", "description": "Inspect field handles and easily edit field and element source settings", "type": "craft-plugin", - "version": "1.2.3", + "version": "1.2.4", "keywords": [ "craft", "cms", diff --git a/src/resources/cpfieldinspect.js b/src/resources/cpfieldinspect.js index 48406a3..9d93f94 100644 --- a/src/resources/cpfieldinspect.js +++ b/src/resources/cpfieldinspect.js @@ -154,7 +154,8 @@ continue; } - var $copyFieldHandleButtons = $target.find('.field .heading [id$=-field-attribute].code:not([data-cpfieldlinks-inited])'); + var $copyFieldHandleButtons = $target.find('.field .heading [id$=-attribute].copytextbtn:not([data-cpfieldlinks-inited])'); + $copyFieldHandleButtons.each(function () { var $btn = $(this);