DFW: don't block the "keyup" event, fixes toggling the checkbox in the Link dialog with the spacebar. Fixes #25934.

git-svn-id: https://develop.svn.wordpress.org/trunk@26649 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2013-12-04 23:50:05 +00:00
parent ba4187de33
commit 2d254241c7

View File

@ -558,16 +558,20 @@ PubSub.prototype.publish = function( topic, args ) {
fullscreen.off(); fullscreen.off();
} }
if ( a && (61 == c || 107 == c || 187 == c) ) // + if ( a && (61 == c || 107 == c || 187 == c) ) { // +
api.dfw_width(25); api.dfw_width(25);
e.preventDefault();
}
if ( a && (45 == c || 109 == c || 189 == c) ) // - if ( a && (45 == c || 109 == c || 189 == c) ) { // -
api.dfw_width(-25); api.dfw_width(-25);
e.preventDefault();
}
if ( a && 48 == c ) // 0 if ( a && 48 == c ) { // 0
api.dfw_width(0); api.dfw_width(0);
e.preventDefault();
return false; }
}); });
// word count in Text mode // word count in Text mode