Residual JSHint fixes in common.js and edit-comments.js.
see #25912, #25979. Built from https://develop.svn.wordpress.org/trunk@26208 git-svn-id: http://core.svn.wordpress.org/trunk@26116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c87330dc5c
commit
d7423a466e
|
@ -691,13 +691,15 @@ var moby6 = {
|
|||
$( document ).ready( $.proxy( moby6.init, moby6 ) );
|
||||
|
||||
// make Windows 8 devices playing along nicely
|
||||
if ( '-ms-user-select' in document.documentElement.style && navigator.userAgent.match(/IEMobile\/10\.0/) ) {
|
||||
(function(){
|
||||
if ( '-ms-user-select' in document.documentElement.style && navigator.userAgent.match(/IEMobile\/10\.0/) ) {
|
||||
var msViewportStyle = document.createElement( 'style' );
|
||||
msViewportStyle.appendChild(
|
||||
document.createTextNode( '@-ms-viewport{width:auto!important}' )
|
||||
);
|
||||
document.getElementsByTagName( 'head' )[0].appendChild( msViewportStyle );
|
||||
}
|
||||
}
|
||||
})();
|
||||
|
||||
// internal use
|
||||
$(document).bind( 'wp_CloseOnEscape', function( e, data ) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,5 @@
|
|||
/* global adminCommentsL10n, thousandsSeparator, list_args, QTags, ajaxurl, wpAjax, commentReply */
|
||||
var setCommentsList, theList, theExtraList,
|
||||
/* global adminCommentsL10n, thousandsSeparator, list_args, QTags, ajaxurl, wpAjax */
|
||||
var setCommentsList, theList, theExtraList, commentReply,
|
||||
toggleWithKeyboard = false;
|
||||
|
||||
(function($) {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue