probably an ID problem. I’ll just check your document.
*yep. As suspected you have given your elements the same ID. You must have unique ID’s for each element in the corresponding layout. Maybe a prefix for the elements m_ for mobile and d_ for desktop. You will have to adjust your script to accommodate this or re-think your goals and if there is another way you can achieve what it is you want.