|
|
|
@ -2225,13 +2225,16 @@ function attach_glossary_into_scorm(type) { |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var hasLocalhost = $(this).attr('href').indexOf(location.host); |
|
|
|
var hasLocalhost = $(this).attr('href').indexOf(location.host); |
|
|
|
|
|
|
|
|
|
|
|
if (hasLocalhost > 0) { |
|
|
|
if (hasLocalhost > 0) { |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var hasJs = $(this).attr('href').indexOf('javascript'); |
|
|
|
|
|
|
|
if (hasJs > 0) { |
|
|
|
|
|
|
|
return true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var src = $(this).attr('href'); |
|
|
|
var src = $(this).attr('href'); |
|
|
|
src = url+'&type=link&src='+src; |
|
|
|
src = url+'&type=link&src='+src; |
|
|
|
src = src.replace('https', 'http'); |
|
|
|
src = src.replace('https', 'http'); |
|
|
|
|