|
@@ -233,11 +233,7 @@
|
|
|
function autoChangeUrlLanguage( language ) {
|
|
|
|
|
|
var hash = location.hash;
|
|
|
- if( !hash ){
|
|
|
-
|
|
|
- return;
|
|
|
-
|
|
|
- }
|
|
|
+ if ( hash === '' ) return;
|
|
|
var docType = hash.substr( 0, hash.indexOf( '/' ) + 1 );
|
|
|
var docLink = hash.substr( hash.indexOf( '/' ) + 1 );
|
|
|
docLink = docLink.substr( docLink.indexOf( '/' ) );
|