asciidoctor-html 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 693a549eaa81cb33e98e952e70409001eba7dc0873306a98add4d283b1180c47
4
- data.tar.gz: 59b879bb5e63a9d7ee025d71ebeb937ef2b8c3d5d2a23fbdb64df678dcdb8889
3
+ metadata.gz: 8c82206bbe281dbd650462b1690c4e4a37ee99da5ffa3143b81a31e222de9d21
4
+ data.tar.gz: cf51b4fc64fcfa498fbe2411bd2d79535e65785ded51cc3fac366e8c2d4602df
5
5
  SHA512:
6
- metadata.gz: f69e15462538890ead34fa4d38f93a6682c3abff180a481941aa9f42299a146d3dec074ed21cbcddac637af4de710927e30bd2c80da569ce561f2ccda7559638
7
- data.tar.gz: e8103c37a0ec71fdeffa21f903a7d73a451354aea6a5ad74b4079bc8cc09c0564463946df6d71cf6325ad3ecde481ad7c97d9bd4446b5c0490194d5394243526
6
+ metadata.gz: 5a510181aabf2f39863d31b7cf20a47fcb38f7cdb399184008702b85197be2b926a27cd745bac2da13fa3181485a5ca1c8c7b549c221cdb96898e9ee1069f4cc
7
+ data.tar.gz: 0ec62eb1089e6e2ed52bd688a88639c6b21e32b428d0a5e07a505aa4173c0e9cac22b25a7a69ebdffee952d58c0172176a8e927914148c9624ee468592b7926f
data/CHANGELOG.md CHANGED
@@ -227,3 +227,7 @@
227
227
  ## [2.0.2] - 2026-07-15
228
228
 
229
229
  - Added target parameter to subnav macro.
230
+
231
+ ## [2.0.3] - 2026-07-15
232
+
233
+ - Always scroll to top of slide on flip.
@@ -50,7 +50,7 @@ module Asciidoctor
50
50
  function focusOnLoad() {
51
51
  if(searchForm) return;
52
52
 
53
- focusEl.focus({preventScroll: true});
53
+ focusEl.focus({preventScroll: !page.classList.contains('presentation')});
54
54
  }
55
55
 
56
56
  function updatePaginator(prev, next) {
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Asciidoctor
4
4
  module Html
5
- VERSION = "2.0.2"
5
+ VERSION = "2.0.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-html
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ravi Rajani