Enqueue Script or Theme Style Bleeding into Admin Area
-
Hello,
I am having an interesting issue with Jetpack’s Edit CSS function.Something about my theme is causing the Edit CSS editor window to load with a height of 0. I checked my style sheet and I am not calling ANY of the IDs or classes used in the editor window. I do notice in the console, however, that I am getting an “Uncaught ReferenceError: enquire is not defined” only in the admin area. This, I think, narrows the problem down quite sufficiently. Does anyone have documentation on how to stop a script from enqueuing in the admin area? I am using the enquire.js in concert with masonry.js to add a masonry layout to my footer widgets and my catalogue page but apparently it’s being called in my admin area.
Any help would be greatly appreciated.
SLIcore Design
- The topic ‘Enqueue Script or Theme Style Bleeding into Admin Area’ is closed to new replies.