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:
parent
ba4187de33
commit
2d254241c7
@ -558,16 +558,20 @@ PubSub.prototype.publish = function( topic, args ) {
|
||||
fullscreen.off();
|
||||
}
|
||||
|
||||
if ( a && (61 == c || 107 == c || 187 == c) ) // +
|
||||
if ( a && (61 == c || 107 == c || 187 == c) ) { // +
|
||||
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);
|
||||
e.preventDefault();
|
||||
}
|
||||
|
||||
if ( a && 48 == c ) // 0
|
||||
if ( a && 48 == c ) { // 0
|
||||
api.dfw_width(0);
|
||||
|
||||
return false;
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
|
||||
// word count in Text mode
|
||||
|
Loading…
Reference in New Issue
Block a user