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:
parent
fe440d71d8
commit
99245534a5
|
@ -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' ) )
|
||||||
|
|
Loading…
Reference in New Issue