FEATURE Updating the behaviour with the new and more specific ramed-rotated variation
This commit is contained in:
parent
52f988c72d
commit
6ec182d740
|
|
@ -1,5 +1,5 @@
|
||||||
export default function alternatePictures() {
|
export default function alternatePictures() {
|
||||||
const images = document.querySelectorAll('.wp-block-image.is-style-framed');
|
const images = document.querySelectorAll('.wp-block-image.is-style-framed-rotated');
|
||||||
|
|
||||||
images.forEach((img, index) => {
|
images.forEach((img, index) => {
|
||||||
if (index % 2 === 0) {
|
if (index % 2 === 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user