aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/settings2.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-25 19:21:02 -0500
committerGitHub <noreply@github.com>2021-01-25 19:21:02 -0500
commitea1d40f94b2e3d43cc73805018cc5d2ba24a6822 (patch)
tree2f2a03024d39ad36275bdcbda6405481b68b1f6c /ext/bg/settings2.html
parent5215c6b8b476d491f324ad3a285bdf6b66a5de41 (diff)
Defer load of iframe on the settings page (#1313)
Diffstat (limited to 'ext/bg/settings2.html')
-rw-r--r--ext/bg/settings2.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/settings2.html b/ext/bg/settings2.html
index 3bad1217..98274277 100644
--- a/ext/bg/settings2.html
+++ b/ext/bg/settings2.html
@@ -720,7 +720,7 @@
Pitch accents for terms and expressions can be shown if a dictionary supporting pitch accents is installed.
There are currently three different ways that pitch accents can be presented:
</p>
- <iframe src="/bg/pitch-accents-preview.html" id="pitch-accents-preview-frame"></iframe>
+ <iframe data-src="/bg/pitch-accents-preview.html" id="pitch-accents-preview-frame" class="defer-load-iframe" data-parent-distance="1"></iframe>
<p>
<a class="more-toggle" data-parent-distance="3">Less&hellip;</a>
</p>