Fix JSHint errors for customize-loader.

props mdbitz.
fixes #26040.

Built from https://develop.svn.wordpress.org/trunk@26194


git-svn-id: http://core.svn.wordpress.org/trunk@26102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-11-15 04:31:10 +00:00
parent fe440d71d8
commit 99245534a5
1 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
/* global _wpCustomizeLoaderSettings */
window.wp = window.wp || {}; window.wp = window.wp || {};
(function( exports, $ ){ (function( exports, $ ){
@ -52,7 +53,7 @@ window.wp = window.wp || {};
Loader.close(); Loader.close();
}, },
hashchange: function( e ) { hashchange: function() {
var hash = window.location.toString().split('#')[1]; var hash = window.location.toString().split('#')[1];
if ( hash && 0 === hash.indexOf( 'wp_customize=on' ) ) if ( hash && 0 === hash.indexOf( 'wp_customize=on' ) )