mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 15:16:59 +00:00
Various JSHint fixes. see #26446.
git-svn-id: https://develop.svn.wordpress.org/trunk@27131 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -621,7 +621,7 @@ $(document).ready(function(){
|
||||
highlight_first: adminCommentsL10n.hotkeys_highlight_first,
|
||||
highlight_last: adminCommentsL10n.hotkeys_highlight_last,
|
||||
prev_page_link_cb: make_hotkeys_redirect('prev'),
|
||||
next_page_link_cb: make_hotkeys_redirect('next'),
|
||||
next_page_link_cb: make_hotkeys_redirect('next'),
|
||||
hotkeys_opts: {
|
||||
disableInInput: true,
|
||||
type: 'keypress',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* global tinymce, QTags, tb_remove */
|
||||
/* global tinymce, QTags */
|
||||
// send html to the post editor
|
||||
|
||||
var wpActiveEditor, send_to_editor;
|
||||
|
||||
@@ -370,7 +370,7 @@ $(document).on( 'heartbeat-send.refresh-lock', function( e, data ) {
|
||||
}(jQuery));
|
||||
|
||||
jQuery(document).ready( function($) {
|
||||
var stamp, visibility, $submitButtons, updateVisibility, updateText,
|
||||
var stamp, visibility, $submitButtons, updateVisibility, updateText, $content,
|
||||
sticky = '',
|
||||
last = 0,
|
||||
co = $('#content'),
|
||||
@@ -1066,7 +1066,7 @@ jQuery(document).ready( function($) {
|
||||
|
||||
if ( ! ( 'ontouchstart' in window ) ) {
|
||||
// When scrolling with mouse wheel or trackpad inside the Text editor, don't scroll the whole window
|
||||
var $content = $('#content').on( 'onwheel' in $document[0] ? 'wheel.text-editor-scroll' : 'mousewheel.text-editor-scroll', function( event ) {
|
||||
$content = $('#content').on( 'onwheel' in $document[0] ? 'wheel.text-editor-scroll' : 'mousewheel.text-editor-scroll', function( event ) {
|
||||
var delta, origEvent = event.originalEvent;
|
||||
|
||||
if ( wp.editor && wp.editor.fullscreen.settings.visible ) {
|
||||
|
||||
Reference in New Issue
Block a user