File tree 2 files changed +5
-16
lines changed
2 files changed +5
-16
lines changed Original file line number Diff line number Diff line change 18
18
{%- if hasdoc('copyright') %}
19
19
{% trans path=pathto('copyright'), copyright=copyright|e %}© < a href ="{{ path }} "> Copyright</ a > {{ copyright }}.{% endtrans %}
20
20
{%- else %}
21
- {% trans copyright=copyright|e %}© Copyright {{ copyright }} - < a href ="http://www.openshot.org/ "> www.openshot.org</ a > .{% endtrans %}
21
+ {% trans copyright=copyright|e %}© Copyright {{ copyright }} - < a data-iframe-height href ="http://www.openshot.org/ "> www.openshot.org</ a > .{% endtrans %}
22
22
{%- endif %}
23
23
{%- endif %}
24
24
48
48
49
49
{%- block extrafooter %} {% endblock %}
50
50
51
- </ footer >
51
+ </ footer >
Original file line number Diff line number Diff line change 1
1
{% extends "!layout.html" %}
2
2
{% set css_files = css_files + ["_static/tablefix.css"] %}
3
3
{%- block footer %}
4
+ < script src ="//cdn.openshot.org/static/vendor/iframeSizer/iframeResizer.contentWindow.min.js "> </ script >
4
5
< script >
5
6
$ ( document ) . ready ( function ( ) {
6
- console . log ( "OpenShot Documentation page ready" ) ;
7
- const height = document . body . scrollHeight ;
8
- const href = location . href ;
9
- if ( window . parent ) {
10
- location . href . includes ( 'index.html' )
11
- window . parent . postMessage (
12
- { height, href}
13
- ) ;
14
- }
15
- } ) ;
16
-
17
- <!-- Adds target=_blank to external links -->
18
- $ ( document ) . ready ( function ( ) {
19
- $ ( 'a[href^="http://"], a[href^="https://"]' ) . not ( 'a[class*=internal]' ) . attr ( 'target' , '_blank' ) ;
7
+ <!-- Adds target=_blank to external links -->
8
+ $ ( 'a[href^="http://"], a[href^="https://"]' ) . not ( 'a[class*=internal]' ) . attr ( 'target' , '_blank' ) ;
20
9
} ) ;
21
10
</ script >
22
11
{% endblock %}
You can’t perform that action at this time.
0 commit comments