File tree 2 files changed +3
-4
lines changed
threejs/lessons/resources
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
<div translate="no" class="threejs_example_container notranslate">
2
- <div><iframe class="threejs_example" style="{{width}} {{height}}" src="/threejs/resources/editor.html?url={{{examplePath}}}{{{encodedUrl}}}{{{params}}}"></iframe></div>
2
+ <div><iframe class="threejs_example notranslate" translate="no " style="{{width}} {{height}}" src="/threejs/resources/editor.html?url={{{examplePath}}}{{{encodedUrl}}}{{{params}}}"></iframe></div>
3
3
<a class="threejs_center" href="{{{examplePath}}}{{{url}}}" target="_blank">{{{caption}}}</a>
4
4
</div>
5
5
Original file line number Diff line number Diff line change @@ -361,9 +361,8 @@ $(document).ready(function($){
361
361
window . prettyPrint ( ) ;
362
362
}
363
363
$ ( 'span[class=com]' )
364
- . replaceWith ( function ( ) {
365
- return $ ( '<span class="com notranslate" translate="yes">' + this . innerHTML + '</span>' ) ;
366
- } ) ;
364
+ . addClass ( 'translate yestranslate' )
365
+ . attr ( 'translate' , 'yes' ) ;
367
366
368
367
const params = getQueryParams ( ) ;
369
368
if ( params . doubleSpace || params . doublespace ) {
You can’t perform that action at this time.
0 commit comments