8
0
fredck 11 лет назад
Родитель
Сommit
3d4fbbe485
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      ckeditor.js

+ 1 - 1
ckeditor.js

@@ -100,7 +100,7 @@
 		} );
 
 		if ( path.indexOf( ':/' ) == -1 && path.slice( 0, 2 ) != '//' ) {
-			if ( path.indexOf( '/' ) === 0 ) {
+			if ( path[ 0 ] == '/' ) {
 				path = location.href.match( /^.*?:\/\/[^\/]*/ )[ 0 ] + path;
 			} else {
 				path = location.href.match( /^[^\?]*\/(?:)/ )[ 0 ] + path;