maliming
2 years ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
1 changed files with
7 additions and
1 deletions
-
modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml
|
|
|
@ -75,7 +75,13 @@ |
|
|
|
if (args.$el.hasClass('goog-te-combo')) { |
|
|
|
args.$el.removeClass('goog-te-combo').addClass('form-select'); |
|
|
|
$('#google_translate_select').append(args.$el); |
|
|
|
} |
|
|
|
var a = $('#google_translate_element').find('a'); |
|
|
|
var img = $('#google_translate_element').find('img'); |
|
|
|
if (a.length > 0 && img.length > 0) { |
|
|
|
var alt = img.attr('alt'); |
|
|
|
a.removeClass().css('color', '#666').html(alt); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
</script> |
|
|
|
<script type="text/javascript" src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> |
|
|
|
|