Fix JSHint errors for customize-loader.

props mdbitz.
fixes #26040.


git-svn-id: https://develop.svn.wordpress.org/trunk@26194 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2013-11-15 04:30:26 +00:00
parent 61eedb9d34
commit 895e8edada

View File

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