The following line is causing a console error in customizer.js:
It doesn't appear to effect the behaviour in any way, but it is firing as soon as the customizer loads, which probably isn't desirable.
I haven't looked closely but my sense is that this is firing in the control and preview panes, but api.previewer.refresh is only defined in one. Not sure though, just a quick guess.
The following line is causing a console error in customizer.js:
It doesn't appear to effect the behaviour in any way, but it is firing as soon as the customizer loads, which probably isn't desirable.
I haven't looked closely but my sense is that this is firing in the control and preview panes, but
api.previewer.refreshis only defined in one. Not sure though, just a quick guess.