Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Correct Webcomic Media box update event triggers.

  • Loading branch information...
commit c56947e727b17314da04c330341cd002db692aab 1 parent be29c35
Michael Sisk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  -/js/admin-meta.js
View
2  -/js/admin-meta.js
@@ -1,7 +1,7 @@
/** Refresh the webcomic media meta box. */
function webcomic_media_meta( url ) {
jQuery( function( $ ) {
- $( document ).on( 'mousedown', '#TB_overlay,#TB_closeWindowButton', function() {
+ $( document ).on( 'mousedown', '.media-modal-close,.media-modal-backdrop', function() {
setTimeout( function() {
$.get( url, {
Please sign in to comment.
Something went wrong with that request. Please try again.