mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 12:35:03 +00:00
Fix width shortcuts in DFW, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
dba8ade461
commit
24f315692d
@ -490,10 +490,10 @@ PubSub.prototype.publish = function( topic, args ) {
|
|||||||
if ( 27 == c ) // Esc
|
if ( 27 == c ) // Esc
|
||||||
fullscreen.off();
|
fullscreen.off();
|
||||||
|
|
||||||
if ( a && (61 == c || 187 == c) ) // +
|
if ( a && (61 == c || 107 == c || 187 == c) ) // +
|
||||||
api.dfw_width(25);
|
api.dfw_width(25);
|
||||||
|
|
||||||
if ( a && (45 == c || 189 == c) ) // -
|
if ( a && (45 == c || 109 == c || 189 == c) ) // -
|
||||||
api.dfw_width(-25);
|
api.dfw_width(-25);
|
||||||
|
|
||||||
if ( a && 48 == c ) // 0
|
if ( a && 48 == c ) // 0
|
||||||
|
File diff suppressed because one or more lines are too long
@ -96,7 +96,7 @@ function wp_default_scripts( &$scripts ) {
|
|||||||
$scripts->add( 'editor', "/wp-admin/js/editor$suffix.js", array('utils','jquery'), '20110411' );
|
$scripts->add( 'editor', "/wp-admin/js/editor$suffix.js", array('utils','jquery'), '20110411' );
|
||||||
$scripts->add_data( 'editor', 'group', 1 );
|
$scripts->add_data( 'editor', 'group', 1 );
|
||||||
|
|
||||||
$scripts->add( 'wp-fullscreen', "/wp-admin/js/wp-fullscreen$suffix.js", array('jquery'), '20110515' );
|
$scripts->add( 'wp-fullscreen', "/wp-admin/js/wp-fullscreen$suffix.js", array('jquery'), '20110517' );
|
||||||
$scripts->add_data( 'wp-fullscreen', 'group', 1 );
|
$scripts->add_data( 'wp-fullscreen', 'group', 1 );
|
||||||
|
|
||||||
$scripts->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.6.1');
|
$scripts->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.6.1');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user