Skip to content

Commit

Permalink
Use the topmost browsing context for links in the dialog iframe (#8194)
Browse files Browse the repository at this point in the history
* Use the topmost browsing context for links in iframes

* Revert `<base>` in `tutorial_frame.html`
  • Loading branch information
Malvoz authored Apr 27, 2022
1 parent 1d20e17 commit 716ffa0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/_layouts/dialog_frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<base target="_top">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
{% capture root %}{% if page.root %}{{ page.root }}{% else %}{{ layout.root }}{% endif %}{% endcapture %}
Expand Down
5 changes: 2 additions & 3 deletions docs/_layouts/tutorial_frame.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
{% capture title %}{% if page.title %}{{ page.title }} - {% elsif post.title %}{{ post.title }} - {% endif %}{% endcapture %}
<title>{{ title }}Leaflet</title>

<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% capture root %}{% if page.root %}{{ page.root }}{% else %}{{ layout.root }}{% endif %}{% endcapture %}
<link rel="shortcut icon" type="image/x-icon" href="{{ root }}docs/images/favicon.ico" />

Expand Down

0 comments on commit 716ffa0

Please sign in to comment.