waibu-maps 2.7.1 → 2.7.2

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.
@@ -75,7 +75,7 @@ async function controlNewsticker () {
75
75
  if (window.newsticker) window.newsticker.destroy()
76
76
  const el = document.querySelector('.maplibregl-ctrl-newsticker .content')
77
77
  el.innerHTML = ''
78
- this.posts = await wmpa.fetchApi('/cms/post', { headers: { 'X-Attachments': 'true' } }, { limit: 1 })
78
+ this.posts = await wmpa.fetchApi('/cms/post', { headers: { 'X-Attachments': 'true' } }, { limit: 10 })
79
79
  this.posts.forEach(post => {
80
80
  const li = document.createElement('li')
81
81
  const a = document.createElement('a')
@@ -93,7 +93,7 @@ async function controlNewsticker () {
93
93
  type: 'vertical',
94
94
  direction: 'down',
95
95
  speed: 600,
96
- autoplay: 4000000000
96
+ autoplay: 4000
97
97
  })
98
98
  }
99
99
  `])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waibu-maps",
3
- "version": "2.7.1",
3
+ "version": "2.7.2",
4
4
  "description": "Maps for Waibu MPA",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  - [2.7.0] Refactor getPosts()
6
6
  - [2.7.1] Bug fix some positioning & dimensions
7
+ - [2.7.2] Bug fix in timer
7
8
 
8
9
  ## 2026-10-21
9
10