Changes between Initial Version and Version 1 of Ticket #25272, comment 7
- Timestamp:
- 09/27/2013 04:46:37 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25272, comment 7
initial v1 16 16 }}} 17 17 18 Secondly, I'm working on a plugin that manipulates the window target for the preview, and the only way to do so at the moment is to override the global `doPreview` function with one that uses the above change. But if the `#post-preview` click handler supplies the `$('form#post').attr('target')` from its own `target` attribute, then a plugin just has to manipulate the preview link/button `target` upon `jQuery.ready`.18 Secondly, I'm working on a plugin <https://github.com/x-team/wp-customizer-everywhere> that manipulates the window target for the preview, and the only way to do so at the moment is to override the global `doPreview` function with one that uses the above change. But if the `#post-preview` click handler supplies the `$('form#post').attr('target')` from its own `target` attribute, then a plugin just has to manipulate the preview link/button `target` upon `jQuery.ready`.